Difference between revisions of "Template:MapLocation"

From West Of Vipers Gate
m (1 revision imported)
m
Line 2: Line 2:
  
 
== Map ==
 
== Map ==
<span style="background: {{{colour|white}}};">Base colour</span>
+
<span style="background: {{{colour|white}}}; border: solid black 1px;">Base colour</span>
  
 
[[File:{{{background}}}|left|200x200px|thumb|background]]
 
[[File:{{{background}}}|left|200x200px|thumb|background]]

Revision as of 23:18, 12 August 2023

Usage

{{MapLocation|0,0|Adderwall Mountains|colour=#B28000|background=tmp.png|context_tiles=0,0; 1,0; 0,1; 1,1}}
Coordinates
The first parameter should be the coordinates of the Location
Region
The second parameter should be the name of the Region containing the Location
background
An image uploaded to this wiki
colour
A css colour specifier, e.g. a hex code, or a colour name like 'beige'
context_tiles
Coordinates of tiles to give context in a generated submap. 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.