FANDOM


Convenience template for setting map coordinate extents for a particular map image. This template is short-hand for setting template variables. This template is not normally used directly. See Template:Map.

Usage
  • 1 or left - left coordinate extent for this map.
  • 2 or top - top coordinate extent for this map.
  • 3 or right - right coordinate extent for this map.
  • 4 or bottom - bottom coordinate extent for this map.
  • clear - if set, sets all variables to empty
Note: At least one parameter must be passed or the wiki may use a cached version of the template that may not actually change any variables to their defaults. Can pass 0 to the first parameter to reset defaults.
Usage (Advanced)
  • 5 or centerx - virtualize map center to X, and cause left and right of center to use different scales
  • 6 or centery - virtualize map center to Y, and cause top and bottom of center to use different scales
Note: The 'centerx' and 'centery' are necessary for Witcher maps where the map center is not the linear center between the map extents.
Examples
Set current extents as left top to 0,0 and right bottom to 100,100
{{Map/Extents|0|0|100|100}}
{{Map/Extents|clear=1}}

Set custom extents
{{Map/Extents|-100|-100|100|100}}
{{Map/Extents|clear=1}}


0 0 100 100


-100 -100 100 100


Community content is available under CC-BY-SA unless otherwise noted.