Template:Location: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{| class="infoboxouter" style=" "
{| class="infoboxouter" align="right" style="width: 310px; float:right;"
|- align="center"
|-  
| |
! colspan="2" class="infoboxinner" style="font-size:larger" | {{ #if:{{{name|}}} | {{{name}}} | {{PAGENAME}} }}<br><small>{{{jpname}}} ''{{{jptrans}}}''</small>
{| class="infoboxinner" style=" "
|-  
|- align="center"
{{ #if:{{{image|}}}|
| class="infoboxtext" rowspan="{{#if:{{{slogan|}}}|1|2}}" style="line-height: 22pt;" | '''<big><big>{{{name|Glitch City}}}</big></big>'''
{{!}} colspan="2" align="center" class="infoboxfieldr" {{!}} {{{image|}}}
| class="infoboxtext" rowspan="2" style=" " | <small>'''<span lang="ja">{{{jpname|故障都市}}}</span>'''</small><br><small>''{{{jptrans|Broken-Down City}}}''</small>
}}
|-
! colspan="2" class="infoboxinner" | Information
|-
{{ #if:{{{type|}}}|
{{!}} class="infoboxfield" valign="top" {{!}} '''Type'''
{{!}} class="infoboxfieldr" {{!}} {{{type|}}}
}}
|-
{{ #if:{{{nation|}}}|
{{!}} class="infoboxfield" valign="top" {{!}} '''Nation'''
{{!}} class="infoboxfieldr" {{!}} {{{nation|}}}
}}
|-
{{ #if:{{{region|}}}|
{{!}} class="infoboxfield" valign="top" {{!}} '''Region'''
{{!}} class="infoboxfieldr" {{!}} {{{region|}}}
}}
|-
{{ #if:{{{population|}}}|
{{!}} class="infoboxfield" valign="top" {{!}} '''Population'''
{{!}} class="infoboxfieldr" {{!}} {{{population|}}}
}}
|-
{{ #if:{{{demographics|}}}|
{{!}} class="infoboxfield" valign="top" {{!}} '''Demographics'''
{{!}} class="infoboxfieldr" {{!}} {{{demographics|}}}
}}
|-
|}<includeonly>[[Category:Locations]]</includeonly>


|}
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}}
|- style="{{#if:{{{image|}}}||display: none;}}" align="center"
| colspan="2" |
{| class="infoboxfieldr" align="center" style=" "
|- align="center"
| [[File:{{{image|Glitch City Map1.jpg}}}|340x340px]]
|}
|- style="{{#if:{{{mapdesc|}}}||display: none;}}" align="center"
| class="infoboxinner" style=" " | '''Map description'''
{| align="center" style="border-collapse: collapse;"
| style=" " |
{| width="100%" style=" }" align="center"
| align="left" | {{{mapdesc|This area is not described by a map.}}}
|}
|}
|- align="center"
| class="infoboxinner" style=" " | '''Region''' <br> [[File:{{{map|{{{region}}} {{{name|Glitch City}}} Map}}}.png]]<br> <small>Location of {{{name|Glitch City}}} in [[{{{region}}} (region)|{{{region}}}]].</small>
|-
|}<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

Revision as of 19:48, 21 August 2018

Location
{{{jpname}}} {{{jptrans}}}
Information

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.
|jptrans=The locations Japanese name once converted to Romaji
|image=The name of the image, followed by its file type, such as Image.png
|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.
|east=The location that lies east of the subject, if applicable.
|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
}}