Template:Location: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(73 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="roundy" align="right" style="{{round}}; background: #FFF; width: 30%; max-width: 30%; margin-left: 5px; margin-bottom: 5px; border: 2px solid #d2d2d2;"
{| class="containbox infobox"
|-
{{Infobox title
|name={{{name}}}
|jpname={{{jpname}}}
|roname={{{roname}}}
}}
|- align="center"
|- align="center"
| class="roundy" style="{{round}}; border: 2px solid #d2d2d2; background: #e1e1e1;" |  
| colspan="2" align="center" class="imagebox" | {{Infobox image
{| class="roundy" align="center" width="100%" style="{{round}}; background: #e1e1e1;"
|image = [[File:{{{image|Unknown (S2 WIN portrait).png}}}|x340px]]
|- align="center"
}}
| rowspan="{{#if:{{{slogan|}}}|1|2}}" style="{{round}}; color:#000000; line-height: 22pt;" | '''<big><big>{{{name|Glitch City}}}</big></big>'''
|-
| rowspan="2" style="{{round}}; color:#000000;" | <small>'''<span lang="ja">{{{jpname|故障都市}}}</span>'''</small><br><small>''{{{jptrans|Broken-Down City}}}''</small>
{{#if:{{{type|}}}| ! class="labelbox" {{!}} Type
|- align="center"
{{!}} {{{type|}}}}}
| style="{{round}}; {{#if:{{{slogan|}}}||display: none;}} line-height: 8pt;" | <small>''"{{{slogan|Wild Missingno. appeared!}}}"''</small>
|-
|}
{{#if:{{{nation|}}}|{{!}}colspan="2" class="linebox" {{!}}
|- style="{{round}}; {{#if:{{{image|}}}||display: none;}} background: #FFF;" align="center"
{{!}}-
| colspan="2" |
! class="labelbox" {{!}} Nation
{| class="roundy" align="center" style="{{round}}; background: #FFFFFF;"
{{!}} {{{nation|}}}}}
|- align="center"
|-
| [[File:{{{image|Glitch City Map1.jpg}}}|{{{size|300}}}px]]
{{#if:{{{region|}}}|{{!}}colspan="2" class="linebox" {{!}}
|}
{{!}}-
|- style="{{round}}; {{#if:{{{mapdesc|}}}||display: none;}}" align="center"
! class="labelbox" {{!}} Region
| class="roundy" style="{{round}}; border: 2px solid #d2d2d2; background: #e1e1e1;" | {{color|000000|'''Map description'''}}
{{!}} {{{region|}}}}}
{| class="roundy" align="center" style="{{round}}; background:#e1e1e1; border-collapse: collapse;"
|-
| class="roundy" style="{{round}}; background:#FFFFFF;" |
{{#if:{{{population|}}}|{{!}}colspan="2" class="linebox" {{!}}
{| class="roundy" width="100%" style="{{round}}; background:#FFFFFF;" align="center"
{{!}}-
| align="left" | {{{mapdesc|This area is not described by a map.}}}
! class="labelbox" {{!}} Population
|}
{{!}} {{{population|}}}}}
|-
{{#if:{{{demographics|}}}|{{!}}colspan="2" class="linebox" {{!}}
{{!}}-
! class="labelbox" {{!}} Demographics
{{!}} {{{demographics|}}}}}
|-
|colspan="2" class="linebox"|
|-
! 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>
|}
|}
|- align="center"
<noinclude>
| class="roundy" style="{{round}}; border: 2px solid #d2d2d2; background: #e1e1e1;" | {{color|000000|'''Region'''|{{color|000000|Location}}}} <br> [[File:{{{map|{{{region}}} {{{name|Glitch City}}} Map}}}.png]]<br> {{color|000000|<small>Location of {{{name|Glitch City}}} in [[{{{region}}}|{{{region}}} (region)]].</small>}}
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}}
|-
|}<includeonly>[[Category:Locations]]</includeonly><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}}
<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.
|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.
|north=The location that lies north of the subject, if applicable.
|population=For Suikoden and Suikoden II cities, information found in the World Guide.
|east=The location that lies east of the subject, if applicable.
}}</pre>[[Category: Infobox templates]]</noinclude>
|west=The location that lies west of the subject, if applicable.
|south=The location that lies south of the subject, if applicable.
|map=The name of the image, followed by its file type, such as Image location.gif
}}</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.
}}