Difference between revisions of "Template:Location"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
{| 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>'''{{{NAME}}}'''</big> | + | |colspan="2" style="text-align: center; background: #AACCFF; font-weight: bold;" |<big>'''{{#if:{{{NAME}}}|{{{NAME}}}}}'''</big> |
|- | |- | ||
− | |-Hex = {{#if: {{{ | + | |-Hex = {{#if: {{{HEX}}} | {{Hex|{{{HEX}}}}}}} |
− | |-Country = {{#if: {{{ | + | |-Terrain ={{#if:{{{TERRAIN}}}|{{Terrain|{{{TERRAIN}}}}}}} |
+ | |-Country = {{#if: {{{COUNTRY}}} | {{Country|{{{COUNTRY}}}}}}} | ||
|} | |} | ||
− | |||
<includeonly>[[category:Locations]]</includeonly> | <includeonly>[[category:Locations]]</includeonly> |
Revision as of 00:24, 8 December 2012
Follow the directions!
DO NOT EDIT THIS PAGE! To use this template, copy the following code into your page:
{{template:Location |NAME= |HEX= |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}}}}} |