Difference between revisions of "Template: Location map/doc"

From A Wiki of Ice and Fire
Jump to: navigation, search
(Basic Usage)
Line 13: Line 13:
 
Where RegionName is one of the bellow:
 
Where RegionName is one of the bellow:
 
;General:
 
;General:
* World (not yet set up)
+
* [[:File:World.png|World]]
* Westeros (not yet set up)
+
* [[:File:Westeros.png|Westeros]]
* Essos (not yet set up)
+
* [[:File:Essos.png|Essos]]
* Sothoros (not yet set up)
+
* [[:File:Sothoros.png|Sothoros]]
  
 
;In Westeros:
 
;In Westeros:
* The North
+
* [[:File:The North.png|The North]]
* The Westerlands
+
* [[:File:The Westerlands.png|The Westerlands]]
* The Iron Islands
+
* [[:File:Iron Islands.png|The Iron Islands]]
* The Vale
+
* [[:File:The Vale.png|The Vale]]
* The Riverlands
+
* [[:File:The Riverlands.png|The Riverlands]]
* The Reach
+
* [[:File:The Reach.png|The Reach]]
* The Stormlands
+
* [[:File:The Stormlands.png|The Stormlands]]
* Crownlands
+
* [[:File:Crownlands.png|Crownlands]]
* Dorne
+
* [[:File:Dorne.png|Dorne]]
  
 
;In Essos
 
;In Essos
* Free Cities (not yet set up)
+
* [[:File:Free Cities.png|Free Cities]]
* Slavers Bay (not yet set up)
+
* [[:File:Slavers Bay.png|Slavers Bay]]
* Valyrian Peninsula (not yet set up)
+
* [[:File:Valyrian Peninsula.png|Valyrian Peninsula]]
 
 
  
 
==Additional Options==
 
==Additional Options==

Revision as of 21:25, 18 May 2012

Template:Note


This template generates a location map as a composite image consisting of a map and a location mark. Optionally a label and caption can be added. Note: The template was copied whole from Wikipedia:Template:Location map, while we don't use all of its functionality, it was left intact to ease the process of future integration.

Basic Usage

Simple syntax versions

{{Location map| RegionName | long=XX |lat=YY }}
{{Location map| RegionName | long=XX |lat=YY | label= LocationName }}

Where RegionName is one of the bellow:

General
In Westeros
In Essos

Additional Options

Additional Map display parameters
Parameter Description
width Determines the width of the map in pixels. The default is 350. Do not include px, for example: width=300, not width=300px.
caption The text of a caption to be displayed below the map. Specifying a caption will cause the map to be displayed with a frame. If caption is defined but is not assigned a value, the map will not be framed and no caption will be displayed. If caption is not defined, the map will not be framed and a default caption will be generated. The default caption is created from the label parameter (or the current page name if label not defined) and the name parameter from map definition template. See the examples below.
alt Alt text for map; shown on mouse hover.
position The position of the label relative to the mark. Valid values are left, right, top and bottom. The default is right.
mark The name of an image to display as the mark. The default is Red pog.png (Red pog.png). See examples at Category:Location markers.
link Specifies a wiki link which will be followed if the reader clicks on the mark. The name of the linked article is displayed when the mouse pointer hovers over the mark.

References

This page uses content from the English Wikipedia. The original content was at Template:Location map. The list of authors can be seen in the page history of Template:Location map. As with A Wiki of Ice and Fire, the content of Wikipedia is available under the Creative Commons Attribution-ShareAlike License.