Difference between revisions of "Template:MapRegion"

From West Of Vipers Gate
m
 
Line 12: Line 12:
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
<pre>{{MapRegion|colour=#E7F79C|background=BW - grasslands.png|coordinates_colour=white|abstract}}</pre>
+
<pre>{{MapRegion|colour=#E7F79C|background=BW - grasslands.png|coordinates_colour=white|abstract=Content}}</pre>
 
<dl>
 
<dl>
 
   <dt>background</dt><dd>An image uploaded to this wiki</dd>
 
   <dt>background</dt><dd>An image uploaded to this wiki</dd>

Latest revision as of 11:16, 10 March 2025

Usage

{{MapRegion|colour=#E7F79C|background=BW - grasslands.png|coordinates_colour=white|abstract=Content}}
background
An image uploaded to this wiki
colour
A css colour specifier, e.g. a hex code, or a colour name like 'beige'; will be the colour behind the background picture.
coordinates_colour
A css colour specifier, e.g. a hex code, or a colour name like 'beige'; will be the colour of the coordinates. Defaults to white.
abstract
Descriptive summary in wikitext. Will be included in the map.

A Region page should have a Tiles subpage (e.g. Sprawling Grasses/Tiles) listing the coordinates of tiles in the region. The tiles should be given in one line, in a list delimited by semicolons, each coordinate in the form 'nw,sw', that is a comma separated pair of the northwest coordinate and southwest coordinate. Spaces are ignored and may be used but other whitespace may fail to load into the map-tiler properly.