There are currently 0 stubs. You can help us by expanding these articles!

Difference between revisions of "Template:Location infobox"

From the Spyro Wiki, the Spyro and Skylanders encyclopedia
Jump to navigationJump to search
(%)
(updated infobox)
Line 5: Line 5:
| align="center" colspan="2" | {{{image|}}}
| align="center" colspan="2" | {{{image|}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
{{#if:{{{games|}}}|{{!}}-style="background:#F8E5FD"
{{#if:{{{first_appearance|}}}|{{!}}-style="background:#F8E5FD"
{{!}} '''Game(s)'''
{{!}} '''First appearance'''
{{!}} {{{games}}}
{{!}} {{{first_appearance}}}
|}}
|- style="vertical-align: top;"
{{#if:{{{latest_appearance|}}}|{{!}}-style="background:#F8E5FD"
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
|}}
|}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
Line 13: Line 18:
{{!}} '''Greater location'''
{{!}} '''Greater location'''
{{!}} {{{greaterloc}}}
{{!}} {{{greaterloc}}}
|}}
|- style="vertical-align: top"
{{#if:{{{capital|}}}|{{!}}-style="background:#F8E5FD"
{{!}} '''Capital'''
{{!}} {{{capital}}}
|}}
|- style="vertical-align: top"
{{#if:{{{ruler|}}}|{{!}}-style="background:#F8E5FD"
{{!}} '''Ruler'''
{{!}} {{{ruler}}}
|}}
|- style="vertical-align: top"
{{#if:{{{owner|}}}|{{!}}-style="background:#F8E5FD"
{{!}} '''Owner'''
{{!}} {{{owner}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
Line 31: Line 51:
|}<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
|games=
|latest_appearance=The game it last was shown in and the date in parentheses
|greaterloc=
|location=The overall area where the location is found in
|inhabitants=
|capital=The capital of the area (rarely applicable)
|gems=
|ruler=The current/latest ruler
|fodder=
|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.
</pre>
|gems=The number of gems in the location
|fodder=The type of fodder in the location
}}</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 22:44, February 5, 2022

Location infobox

Usage

{{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.
|gems=The number of gems in the location
|fodder=The type of fodder in the location
}}