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
(new template)
 
(this hasn't been changed)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=300px style="padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background:#D8BFD8; border:1px solid #000"
{| class="infobox" style="background:#D8BFD8;border:1px solid purple"
|-
|-
! colspan="2" bgcolor="#663399"|  <span style="color:#FFF">{{{name|{{PAGENAME}}}}}</span>
! 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
|inhabitants=
|greaterloc=The overall area where the location is found in
|gems=
|capital=The capital of the area (rarely applicable)
|fodder=
|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.
|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
}}