Difference between revisions of "Template:MapRegion"
From West Of Vipers Gate
m |
m |
||
Line 5: | Line 5: | ||
[[File:{{{background}}}|left|200x200px|thumb|background]] | [[File:{{{background}}}|left|200x200px|thumb|background]] | ||
− | |||
<includeonly> | <includeonly> | ||
[[Category:Regions]] | [[Category:Regions]] | ||
− | </includeonly> | + | </includeonly><noinclude> |
+ | == Usage == | ||
+ | <pre>{{MapRegion|colour=#E7F79C|background=BW - grasslands.png}}</pre> | ||
+ | <dl> | ||
+ | <dt>background</dt><dd>An image uploaded to this wiki</dd> | ||
+ | <dt>colour</dt><dd>A css colour specifier, e.g. a hex code, or a colour name like 'beige'</dd> | ||
+ | </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 break fail to load into the map-tiler properly. | ||
+ | </noinclude> |
Revision as of 00:28, 15 June 2023
Map
Base colour
[[File:{{{background}}}|left|200x200px|thumb|background]]
Usage
{{MapRegion|colour=#E7F79C|background=BW - grasslands.png}}
- background
- An image uploaded to this wiki
- colour
- A css colour specifier, e.g. a hex code, or a colour name like 'beige'
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 break fail to load into the map-tiler properly.