Telarapedia
Advertisement
Template-info.png Documentation

The {{coords}} template creates marked coordinates on a map. It will display the coordinates and link to the corresponding zone page. Additionally, while pointing the mouse arrow at the link, an image of the zone map with markers on the coordinate positions is shown. The map with markers can also be shown directly on the page.

Freemarch.png{{#arraymap:6195,5000; 7251,5143; 6880,5925|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}

Coordinates can be retrieved in-game from the bottom of the map screen.

Syntax[]

The general syntax to use this template is

{{coords| 1234 | 5678 | zone-name }}

or

{{coords| 1234,5678 | zone-name }}

for single coordinates, and

{{coords| 1234,5678; 4321,8765; 1111,2222; ... | zone-name }}

for multiple coordinates.

Examples[]

Code Result
{{coords| 7050,5170 | freemarch }} [7050,5170]
Freemarch
Freemarch.png{{#arraymap:7050,5170|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}
{{coords| 6195,5000; 7251,5143; 6880,5925 | freemarch }} [6195,5000], [7251,5143], [6880,5925]
Freemarch
Freemarch.png{{#arraymap:6195,5000; 7251,5143; 6880,5925|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}

Optional Parameters[]

Code Result Description
{{coords| ... | title=New Title }} [7050,5170]
New Title
Freemarch.png{{#arraymap:7050,5170|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}
Replace the title above the map image
{{coords| ... | title=- }} [7050,5170]
Freemarch.png{{#arraymap:7050,5170|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}
Suppress the title completely
{{coords| ... | linktext=New Text }} [New Text]
Freemarch
Freemarch.png{{#arraymap:7050,5170|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}
Replace the shown coordinates
{{coords| ... | link=New Link }} [7050,5170]
Freemarch
Freemarch.png{{#arraymap:7050,5170|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}
Link to another page, instead of the zone page
{{coords| ... | description=New Text }} [7050,5170]
Freemarch
Freemarch.png{{#arraymap:7050,5170|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}
New Text
Add text description below the map image
{{coords| ... | display=inline }} Show map image directly on the page, not on mouse-over

Customizing Location Markers[]

Each coordinate location will be marked with Blip.png by default. This image can be changed individually for each location by specifying a third type argument behind the pair of coordinates.

{{coords| x,y,type,caption; x,y,type,caption; ... }}
Template-info.png Documentation

The {{coords/Icon|type}} template returns the image to be used as a marker for {{coords}}. The following table contains the list of available icons.

default Blip.png
black x Icon-xcross-black.png v Icon-check-black.png o Icon-dot-black.png . Icon-dot-black.png
red xr Icon-xcross-red.png vr Icon-check-red.png or Icon-dot-red.png .r Icon-dot-red.png
green xg Icon-xcross-green.png vg Icon-check-green.png og Icon-dot-green.png .g Icon-dot-green.png
blue xb Icon-xcross-blue.png vb Icon-check-blue.png ob Icon-dot-blue.png .b Icon-dot-blue.png
yellow xy Icon-xcross-yellow.png vy Icon-check-yellow.png oy Icon-dot-yellow.png .y Icon-dot-yellow.png
white xw Icon-xcross-white.png vw Icon-check-white.png ow Icon-dot-white.png .w Icon-dot-white.png

Additionally, each marker will show its coordinates as tooltip. An optional fourth caption argument to the location information will be added to that tooltip. Note, that the tooltip only works with the inline display mode and a non-empty link.

{{coords| 6195,5000,or,First Anchor; 7251,5143,og,Second Anchor; 6880,5925,ob,Third Anchor | freemarch | ... }}
Freemarch.png{{#arraymap:6195,5000,or,First Anchor; 7251,5143,og,Second Anchor; 6880,5925,ob,Third Anchor|;|x|<div style="position:absolute;left:Expression error: Unrecognized word "x".%;top:-196.57701711491%;margin:-15px">[x,]
|}}

Available Zones[]

The zone name argument is, generally, the name of the zone without spaces in lower case letters. All available zones can be found in the zone templates category.

Zones[]

{{#arraymap:droughtlands,freemarch,gloamwood,ironpinepeak,lakeofsolace,moonshadehighlands,scarletgorge,scarletgorgen,scarletgorges,scarwoodreach,shimmersand,silverwood,stillmoor,stonefield,terminus|,|xx|
Name Zone Preview Code
[[Template:coords/xx|Template:Coords/xx]] [[Template:Coords/xx]] coords invalid (zone: xx) {{coords| Expression error: Unrecognized punctuation character "[". | Expression error: Unrecognized punctuation character "[". | xx }}

Dungeons[]

{{#arraymap:irontomb|,|xx|
Name Zone Preview Code
[[Template:coords/xx|Template:Coords/xx]] [[Template:Coords/xx]] coords invalid (zone: xx) {{coords| Expression error: Unrecognized punctuation character "[". | Expression error: Unrecognized punctuation character "[". | xx }}

Caves[]

tbc.

Create a new Zone template[]

To create a new zone for the {{coords}} template called newzone, create a page with the name Template:coords/newzone with the following code.

<includeonly><onlyinclude>{{#switch:{{{1}}}
  |zone=Name of zone (actual page name)
  |title=Title of the zone (to be displayed above the map)
  |image=Newzone.png (image file name of zone map)
  |width=400
  |height=300
  |left=1000
  |right=5000
  |top=1000
  |bottom=4000
}}</onlyinclude></includeonly>{{Coords/ZoneDocumentation}}

Change the width and height to the size in which the map image should be displayed. This may not be the actual size of the image, but a proportionate smaller dimension. The left, right, top and bottom coordinates need to be adjusted to the border coordinates of the zone map.

Note: After saving the page, it will show errors. The page needs to be saved a second time (no changes necessary) to fix the self reference of the created documentation text. end

Template-info.png Documentation
Advertisement