384,580
edits
mNo edit summary |
m (Text replacement - "NSMBUmap" to "NSMBU map") |
||
Line 479: | Line 479: | ||
Otherwise a variable must be declared; so if it is set to <code>infobox</code>,it would be aligned in the center and it would be classed as <code>none</code>. And if it is not set, it would be classed as a <code>thumbnail</code> and it would be aligned to the right. | Otherwise a variable must be declared; so if it is set to <code>infobox</code>,it would be aligned in the center and it would be classed as <code>none</code>. And if it is not set, it would be classed as a <code>thumbnail</code> and it would be aligned to the right. | ||
In other word, templates like {{tem|NSMBmap}} are put inside the {{tem|world infobox}} and never outside, so it is classed as <code>none</code> and it is aligned in the center, so it looks centered and without borders in the template. Templates like {{tem|PMTTYDmap}} are put outsise the Worldbox template and never inside, so it is classed as <code>thumbnail</code> and aligned to the right. However templates like {{tem| | In other word, templates like {{tem|NSMBmap}} are put inside the {{tem|world infobox}} and never outside, so it is classed as <code>none</code> and it is aligned in the center, so it looks centered and without borders in the template. Templates like {{tem|PMTTYDmap}} are put outsise the Worldbox template and never inside, so it is classed as <code>thumbnail</code> and aligned to the right. However templates like {{tem|NSMBU map}} are put both inside and outside, so there is a variable defining if it would be put in the Worldbox template, or would be put outside. | ||
The template must only be put where it links to (i.e If the template only links to {{fake link|page1}} and {{fake link|page2}}, it must never be put on {{fake link|page3}}). That's because it is unneeded on an unrelated page. | The template must only be put where it links to (i.e If the template only links to {{fake link|page1}} and {{fake link|page2}}, it must never be put on {{fake link|page3}}). That's because it is unneeded on an unrelated page. |