Template:MapElement

From Cities

Jump to: navigation, search

|style="border:1px solid black; border-top: ; border-bottom: ; border-left: ; border-right: " class="{{{1}}}" height="80" width="80" align="center"|{{{2}}}

Usage

This is useful in making maps. e.g.

{|
{{MapElement|loc_desert|Tundra}}
{{MapElement|loc_snow|Snow}}
{{MapElement|loc_city|Tavern|4=yellow}}
|}

will display:

Tundra Snow Tavern


Note that you do not need a pipe before the template.

  • {{{1}}} location class
  • {{{2}}} text
  • {{{3}}} square dimension - default at 80
  • {{{4}}} text color
Personal tools