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
(no longer needs to be defined)
(this hasn't been changed)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="background:#D8BFD8;border:1px solid purple"
{| class="infobox" style="background:#D8BFD8;border:1px solid purple"
|-
|-
! colspan="2" style="background-color:#663399;color:#FFF;font-size:13px"| {{{name|{{PAGENAME}}}}}
! colspan="2" style="background-color:#663399;color:#FFF;font-size:125%"| {{{name|{{PAGENAME}}}}}
|-
|-
| 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=
|greaterloc=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>

Latest revision as of 22:46, 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
|greaterloc=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
}}