Difference between revisions of "Template:Location"

From Dargarth
Jump to navigation Jump to search
 
Line 18: Line 18:
 
{| class="infobox" cellpadding="5" cellspacing="0" style="max-width: 300px; float: right; clear: right; margin-left: 10px; margin-bottom: 10px; background: white; font-size: 90%; border: 1px solid #ccc"
 
{| class="infobox" cellpadding="5" cellspacing="0" style="max-width: 300px; float: right; clear: right; margin-left: 10px; margin-bottom: 10px; background: white; font-size: 90%; border: 1px solid #ccc"
 
|-
 
|-
|colspan="2" style="text-align: center; background: #AACCFF; font-weight: bold;" |<big>'''{{#if:{{{NAME}}}|{{{NAME}}}}}'''</big>
+
|colspan="2" style="text-align: center; background: #AACCFF; font-weight: bold;" |<big>'''{{#if: {{{NAME}}}|{{{NAME}}}}}'''</big>
 
|-
 
|-
|-Hex        = {{#if: {{{HEX}}} | {{Hex|{{{HEX}}}}}}}
+
|-Hex        = {{#if: {{{HEX}}} | {{Hex|{{{HEX}}}}}
|-Terrain ={{#if:{{{TERRAIN}}}|{{Terrain|{{{TERRAIN}}}}}}}
+
|-Terrain ={{#if:{{{TERRAIN}}}|{{Terrain|{{{TERRAIN}}}}}
|-Country        = {{#if: {{{COUNTRY}}} | {{Country|{{{COUNTRY}}}}}}}
+
|-Country        = {{#if: {{{COUNTRY}}} | {{Country|{{{COUNTRY}}}}}
 
|}
 
|}
 
<includeonly>[[category:Locations]]</includeonly>
 
<includeonly>[[category:Locations]]</includeonly>

Latest revision as of 17:24, 20 March 2019

Follow the directions!

DO NOT EDIT THIS PAGE! To use this template, copy the following code into your page:

{{template:Location
|NAME=
|HEX=
|TERRAIN=
|COUNTRY=
}}

Fill out the lines after the '=' sign. You may leave a parameter blank if you don't want to fill it out. When done right, everything will be set up for you and you won't have to worry about any formatting.


{{#if: {{{NAME}}}|{{{NAME}}}}}
Hex {{{HEX}}}
Terrain {{{TERRAIN}}}
Country {{{COUNTRY}}}