Difference between revisions of "Template:MapRegion"

From West Of Vipers Gate
m
m
Line 1: Line 1:
[[File:{{PAGENAME}}.svg|thumb]]
+
<includeonly>[[File:{{PAGENAME}}.svg|thumb]]
  
 
== Map ==
 
== Map ==
Line 5: Line 5:
  
 
[[File:{{{background}}}|left|200x200px|thumb|background]]
 
[[File:{{{background}}}|left|200x200px|thumb|background]]
<includeonly>
 
 
[[Category:Regions]]
 
[[Category:Regions]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 00:29, 15 June 2023

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.