Don't like the ads? Then create an account! Users with accounts have more options than anonymous users. |
Difference between revisions of "Template:Location infobox"
From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(removed) |
(Fixed this too) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" | {| class="infobox" style="background:#FFF" | ||
! colspan="2" style="background-color:#8AFA8A;font-size:125%"| {{{name|{{PAGENAME}}}}} | |||
|- | |- | ||
| style="text-align:center" colspan="2" | {{{image|}}} | |||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{first_appearance|}}}|{{!}}-style="background:# | {{#if:{{{first_appearance|}}}|{{!}}-style="background:#beffbe" | ||
{{!}} '''First appearance''' | {{!}} '''First appearance''' | ||
{{!}} {{{first_appearance}}} | {{!}} {{{first_appearance}}} | ||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{latest_appearance|}}}|{{!}}-style="background:# | {{#if:{{{latest_appearance|}}}|{{!}}-style="background:#beffbe" | ||
{{!}} '''Latest appearance''' | {{!}} '''Latest appearance''' | ||
{{!}} {{{latest_appearance}}} | {{!}} {{{latest_appearance}}} | ||
|}} | |}} | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
{{#if:{{{location|}}}|{{!}}-style="background:# | {{#if:{{{location|}}}|{{!}}-style="background:#beffbe" | ||
{{!}} '''Greater location''' | {{!}} '''Greater location''' | ||
{{!}} {{{location}}} | {{!}} {{{location}}} | ||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{inhabitants|}}}|{{!}}-style="background:# | {{#if:{{{capital|}}}|{{!}}-style="background:#beffbe" | ||
{{!}} '''Capital''' | |||
{{!}} {{{capital}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{ruler|}}}|{{!}}-style="background:#beffbe" | |||
{{!}} '''Ruler''' | |||
{{!}} {{{ruler}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{owner|}}}|{{!}}-style="background:#beffbe" | |||
{{!}} '''Owner(s)''' | |||
{{!}} {{{owner}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{inhabitants|}}}|{{!}}-style="background:#beffbe" | |||
{{!}} '''Inhabitant(s)''' | {{!}} '''Inhabitant(s)''' | ||
{{!}} {{{inhabitants}}} | {{!}} {{{inhabitants}}} | ||
Line 26: | Line 40: | ||
|}<noinclude> | |}<noinclude> | ||
==Usage== | ==Usage== | ||
<pre> | <pre>{{Location infobox | ||
{{Location infobox | |name=Changes the name in the infobox to remove title identifiers | ||
|name = | |image=An image of the location | ||
|image = | |first_appearance=The game it first debuted in and the date in parentheses | ||
|first_appearance = | |latest_appearance=The game it last was shown in and the date in parentheses | ||
|latest_appearance = | |location=The overall area where the location is found in | ||
|location = | |capital=The capital of the area (rarely applicable) | ||
|inhabitants = | |ruler=The current/latest ruler | ||
}} | |owner=Alternative parameter for "ruler" used for houses, businesses, and other forms of property where the term "ruler" is unfitting | ||
</pre> | |inhabitants=Meaning species. There can be multiple types of inhabitants. | ||
[[Category:Infobox templates]]</noinclude | }}</pre> | ||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 22:40, February 5, 2022
Location infobox | |
---|---|
Usage[edit]
{{Location infobox |name=Changes the name in the infobox to remove title identifiers |image=An image of the location |first_appearance=The game it first debuted in and the date in parentheses |latest_appearance=The game it last was shown in and the date in parentheses |location=The overall area where the location is found in |capital=The capital of the area (rarely applicable) |ruler=The current/latest ruler |owner=Alternative parameter for "ruler" used for houses, businesses, and other forms of property where the term "ruler" is unfitting |inhabitants=Meaning species. There can be multiple types of inhabitants. }}