Difference between revisions of "Template:Location"
Jump to navigation
Jump to search
| (2 intermediate revisions by one other user not shown) | |||
| Line 6: | Line 6: | ||
|NAME= | |NAME= | ||
|HEX= | |HEX= | ||
| + | |TERRAIN= | ||
|COUNTRY= | |COUNTRY= | ||
}}</nowiki> | }}</nowiki> | ||
| Line 17: | 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>'''{{{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> | ||
Latest revision as of 16: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}}} |