Jump to content

Template:Infobox Location: Difference between revisions

From Xandaris Wiki
Switch to HTML table to fix whitespace
Single-line includeonly to fix foster-parented br elements
 
Line 1: Line 1:
<includeonly><table class="wikitable" style="float:right; margin-left:1em;">
<includeonly><table class="wikitable" style="float:right; margin-left:1em;"><tr><th colspan="2">{{{name|{{PAGENAME}}}}}</th></tr>{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center;">[[File:{{{image}}}|250px]]</td></tr>}}{{#if:{{{coordinates|}}}|<tr><td>'''Coordinates'''</td><td>{{{coordinates}}}</td></tr>}}{{#if:{{{biome|}}}|<tr><td>'''Biome'''</td><td>{{{biome}}}</td></tr>}}{{#if:{{{theme|}}}|<tr><td>'''Theme'''</td><td>{{{theme}}}</td></tr>}}{{#if:{{{founded|}}}|<tr><td>'''Founded'''</td><td>{{{founded}}}</td></tr>}}{{#if:{{{founded_by|}}}|<tr><td>'''Founded By'''</td><td>{{{founded_by}}}</td></tr>}}{{#if:{{{status|}}}|<tr><td>'''Status'''</td><td>{{{status}}}</td></tr>}}</table></includeonly>
<tr><th colspan="2">{{{name|{{PAGENAME}}}}}</th></tr>
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center;">[[File:{{{image}}}|250px]]</td></tr>}}
{{#if:{{{coordinates|}}}|<tr><td>'''Coordinates'''</td><td>{{{coordinates}}}</td></tr>}}
{{#if:{{{biome|}}}|<tr><td>'''Biome'''</td><td>{{{biome}}}</td></tr>}}
{{#if:{{{theme|}}}|<tr><td>'''Theme'''</td><td>{{{theme}}}</td></tr>}}
{{#if:{{{founded|}}}|<tr><td>'''Founded'''</td><td>{{{founded}}}</td></tr>}}
{{#if:{{{founded_by|}}}|<tr><td>'''Founded By'''</td><td>{{{founded_by}}}</td></tr>}}
{{#if:{{{status|}}}|<tr><td>'''Status'''</td><td>{{{status}}}</td></tr>}}
</table></includeonly>
<noinclude>
<noinclude>
== Usage ==
== Usage ==

Latest revision as of 23:19, 1 March 2026


Usage[edit]

{{Infobox Location
| name        =
| image       =
| coordinates =
| biome       =
| theme       =
| founded     =
| founded_by  =
| status      =
}}

All fields are optional. name defaults to {{PAGENAME}}.

Warning: Never include coordinates of player bases. Use "Classified" for base locations. Spawn-area coordinates (~0,0) are acceptable.