Difference between revisions of "Template:MapRegion"
From West Of Vipers Gate
Line 12: | Line 12: | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
− | <pre>{{MapRegion|colour=#E7F79C|background=BW - grasslands.png|coordinates_colour=white}}</pre> | + | <pre>{{MapRegion|colour=#E7F79C|background=BW - grasslands.png|coordinates_colour=white|abstract}}</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> | ||
Line 21: | Line 21: | ||
<dd>A css colour specifier, e.g. a hex code, or a colour name like 'beige'; | <dd>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.</dd> | will be the colour of the coordinates. Defaults to white.</dd> | ||
+ | <dt>abstract</dt> | ||
+ | <dd>Descriptive summary in wikitext. Will be included in the map.</dd> | ||
</dl> | </dl> | ||
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. | 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. | ||
</noinclude> | </noinclude> |
Revision as of 11:16, 10 March 2025
Usage
{{MapRegion|colour=#E7F79C|background=BW - grasslands.png|coordinates_colour=white|abstract}}
- 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.