Template:Location map/doc

From Toon Wiki
Revision as of 13:01, 14 September 2014 by imported>ToonWikiBot (Imported from Avatar Wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Description
This template is used to produce a map with a nation highlighted and a location marked by one or multiple markers.
Dependencies
Syntax
{{Location map|maptype|left|top|name|link|include=...}}
  • maptype is one of air, earth, fire, water, URN, or multi. Otherwise, a map is not displayed.
  • left is marker offset in pixels from the left. Otherwise, a marker is not displayed.
  • top is marker offset in pixels from the top. Otherwise, a marker is not displayed.
  • name is the name displayed when the mouse hovers over marker. Defaults to Location.
  • link is the link to go to when the marker is clicked. Defaults to name else Map of the World of Avatar.
  • include=... may be used to include multiple markers (see last example).
Clicking elsewhere on the map takes you to Map of the World of Avatar.
Sample output
{{Location map|air
|20|30|Western Air Temple}}
{{Location map|earth
|118|84|Tu Zin Village|Tu Zin}}
Map of Earth
Tu Zin Village

{{Location map|fire
|8|65|Fire Nation Royal Palace}}
{{Location map|water
|59|125|Southern Water Tribe}}
Map of Fire
Fire Nation Royal Palace
Map of Water
Southern Water Tribe

{{Location map|URN
|65|37|Republic City}}
{{Location map|multi
|20|30|Western Air Temple|include={{Location map|
|118|84|Tu Zin Village|Tu Zin}}{{Location map|
|8|65|Fire Nation Royal Palace}}{{Location map|
|59|125|Southern Water Tribe}}}}
Map of URN
Republic City
Map of Water
Western Air Temple
Tu Zin Village
Fire Nation Royal Palace
Southern Water Tribe
See also