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
(cleanup header code)
(Fixed this too)
 
(5 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:13px"| {{{name|{{PAGENAME}}}}}
! colspan="2" style="background-color:#8AFA8A;font-size:125%"| {{{name|{{PAGENAME}}}}}
|-
|-
| style="text-align:center" colspan="2" | {{{image|}}}
| style="text-align:center" colspan="2" | {{{image|}}}
Line 17: Line 17:
{{!}} '''Greater location'''
{{!}} '''Greater location'''
{{!}} {{{location}}}
{{!}} {{{location}}}
|}}
|- style="vertical-align: top"
{{#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"
|- style="vertical-align: top"
Line 25: 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><includeonly>[[Category:Locations]]</includeonly>
}}</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.
}}