Template:Location: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infoboxouter"
{| class="containbox infobox"
|
{| class="infoboxinner"
! colspan="2" class="infoboxtext" style="color:#fff; font-size:larger" | {{ #if:{{{name|}}} | {{{name}}} | {{PAGENAME}} }}<br><small>{{{jpname}}} ''{{{jptrans}}}''</small>
|}
|-
|-
|
{{Infobox title
|- align="center" class="infoboxfieldr"
|name={{{name}}}
| [[File:{{{image|}}}|300x300px]]
|jpname={{{jpname}}}
|-
|roname={{{roname}}}
|
}}
{| width="100%" style="align:center;"
|- align="center"
{{ #if:{{{type|}}}|
| colspan="2" align="center" class="imagebox" | {{Infobox image
{{!}} class="infoboxfield" style="align:center;" align="left" {{!}} '''Type'''
|image = [[File:{{{image|Unknown (S2 WIN portrait).png}}}|x340px]]
{{!}} width="70%" class="infoboxfieldr" {{!}} {{{type|}}}
}}
}}
|-
|-
{{ #if:{{{nation|}}}|
{{#if:{{{type|}}}| ! class="labelbox" {{!}} Type
{{!}} class="infoboxfield" style="align:center;" align="left" {{!}} '''Nation'''
{{!}} {{{type|}}}}}
{{!}} width="70%" class="infoboxfieldr" {{!}} {{{nation|}}}
|-
}}
{{#if:{{{nation|}}}|{{!}}colspan="2" class="linebox" {{!}}
{{!}}-
! class="labelbox" {{!}} Nation
{{!}} {{{nation|}}}}}
|-
{{#if:{{{region|}}}|{{!}}colspan="2" class="linebox" {{!}}
{{!}}-
! class="labelbox" {{!}} Region
{{!}} {{{region|}}}}}
|-
|-
{{ #if:{{{region|}}}|
{{#if:{{{population|}}}|{{!}}colspan="2" class="linebox" {{!}}
{{!}} class="infoboxfield" style="align:center;" align="left" {{!}} '''Region'''
{{!}}-
{{!}} width="70%" class="infoboxfieldr" {{!}} {{{region|}}}
! class="labelbox" {{!}} Population
}}
{{!}} {{{population|}}}}}
|-
|-
{{ #if:{{{population|}}}|
{{#if:{{{demographics|}}}|{{!}}colspan="2" class="linebox" {{!}}
{{!}} class="infoboxfield" style="align:center;" align="left" {{!}} '''Population'''
{{!}}-
{{!}} width="70%" class="infoboxfieldr" {{!}} {{{population|}}}
! class="labelbox" {{!}} Demographics
}}
{{!}} {{{demographics|}}}}}
|-
|-
{{ #if:{{{demographics|}}}|
|colspan="2" class="linebox"|
{{!}} class="infoboxfield" style="align:center;" align="left" {{!}} '''Demographics'''
{{!}} width="70%" class="infoboxfieldr" {{!}} {{{demographics|}}}
}}
|-
|-
! class="labelbox" | Appears in
| <includeonly>[[Category:Locations]]{{#ifeq: {{{S1}}}|yes|* [[Suikoden]][[Category:Locations in Suikoden]]<br>}}{{#ifeq: {{{S2}}}|yes|* [[Suikoden II]][[Category:Locations in Suikoden II]]<br>}}{{#ifeq: {{{G1}}}|yes|* [[Genso Suikogaiden Vol.1]][[Category:Locations in Genso Suikogaiden Vol.1]]<br>}}{{#ifeq: {{{G2}}}|yes|* [[Genso Suikogaiden Vol.2]][[Category:Locations in Genso Suikogaiden Vol.2]]<br>}}{{#ifeq: {{{CS}}}|yes|* [[Genso Suikoden Card Stories]][[Category:Locations in Genso Suikoden Card Stories]]<br>}}{{#ifeq: {{{S3}}}|yes|* [[Suikoden III]][[Category:Locations in Suikoden III]]<br>}}{{#ifeq: {{{S4}}}|yes|* [[Suikoden IV]][[Category:Locations in Suikoden IV]]<br>}}{{#ifeq: {{{ST}}}|yes|* [[Suikoden Tactics]][[Category:Locations in Suikoden Tactics]]<br>}}{{#ifeq: {{{S5}}}|yes|* [[Suikoden V]][[Category:Locations in Suikoden V]]<br>}}{{#ifeq: {{{HS}}}|yes|* [[Genso Suikoden Tierkreis Hoshikuzu no Shiro]][[Category:Locations in Genso Suikoden Tierkreis Hoshikuzu no Shiro]]<br>}}{{#ifeq: {{{TK}}}|yes|* [[Suikoden Tierkreis]][[Category:Locations in Suikoden Tierkreis]]<br>}}{{#ifeq: {{{PS}}}|yes|* [[Pachislot Genso Suikoden]][[Category:Locations in Pachislot Genso Suikoden]]<br>}}{{#ifeq: {{{HT}}}|yes|* [[Genso Suikoden Tsumugareshi Hyakunen no Toki]][[Category:Locations in Genso Suikoden Tsumugareshi Hyakunen no Toki]]<br>}}{{#ifeq: {{{kpc}}}|yes|* [[Konami Parody Comic Series Genso Suikoden]][[Category:Locations from Konami Parody Comic Series Genso Suikoden]]}}{{#ifeq: {{{SS1}}}|yes|* [[Genso Suikoden Short Story Collection 1]][[Category:Locations from Genso Suikoden Short Story Collection 1]]}}{{#ifeq: {{{SS2}}}|yes|* [[Genso Suikoden Short Story Collection 2]][[Category:Locations from Genso Suikoden Short Story Collection 2]]}}{{#ifeq: {{{SS3}}}|yes|* [[Genso Suikoden Short Stories Collection 3]][[Category:Locations from Genso Suikoden Short Story Collection 3]]}}{{#ifeq: {{{SS4}}}|yes|* [[Genso Suikoden Short Stories Collection 4]][[Category:Locations from Genso Suikoden Short Story Collection 4]]}}</includeonly>
|}
|}
|}<includeonly>[[Category:Locations]]</includeonly><noinclude>
<noinclude>
This template is used to add a location infobox to a page. To add this template to an article copy and paste the code below and then fill in the information for each section.{{clear}}
This template is used to add a location infobox to a page. To add this template to an article, copy and paste the code below and then fill in the information for each section.{{clear}}
<pre>
<pre>
{{Location
{{Location
|name=The English name of the location.
|name=The English name of the location.
|jpname=The locations name in Japanese. This is usually written in Katakana.
|jpname=The locations name in Japanese. This is usually written in Katakana.
|jptrans=The locations Japanese name once converted to Romaji
|jpname=The locations Japanese name once converted to Romaji
|image=The name of the image, followed by its file type, such as Image.png
|image=The name of the image, followed by its file type, such as Image.png
|type=The type of location this is. Fortification, Town, River, Mountain, etc.
|type=The type of location this is. Fortification, Town, River, Mountain, etc.
|region=The region the location is located in, such as Toran, Dunan, Grassland, etc.
|region=The region the location is located in, such as Toran, Dunan, Grassland, etc.
|population=For Suikoden and Suikoden II cities, information found in the World Guide.
|population=For Suikoden and Suikoden II cities, information found in the World Guide.
}}</pre>[[Category:Infobox templates]]</noinclude>
}}</pre>[[Category: Infobox templates]]</noinclude>

Latest revision as of 08:18, 4 November 2023

{{{name}}}
{{{jpname}}}, {{{roname}}}

Appears in

This template is used to add a location infobox to a page. To add this template to an article, copy and paste the code below and then fill in the information for each section.

{{Location
|name=The English name of the location.
|jpname=The locations name in Japanese. This is usually written in Katakana.
|jpname=The locations Japanese name once converted to Romaji
|image=The name of the image, followed by its file type, such as Image.png
|type=The type of location this is. Fortification, Town, River, Mountain, etc.
|region=The region the location is located in, such as Toran, Dunan, Grassland, etc.
|population=For Suikoden and Suikoden II cities, information found in the World Guide.
}}