Template:HasMap

From RuneRealm Wiki

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:36, 17 October 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:HasMap/doc. [edit] [history] [purge]
Template:HasMap invokes function map in Module:Map using Lua.

The HasMap template can be used to link to an interactive map relevant to a page. The first parameter indicates the subject of the page, and the second parameter specifies either a wikipage to link to or a full URL to link to. The template will automatically determine which one of the two the link needs to go to. If the second parameter is absent, the link will go to a /Map subpage of the current page.

Wikilink example

{{HasMap|a map of music track unlock locations|Map:Music tracks}} becomes: Lua error: [Module:Map] Feature contains mismatched coordinates.

URL example

{{HasMap|the world map|https://maps.runescape.wiki/osrs/#1/0/0/3232/3232}} becomes: Lua error: [Module:Map] Feature contains mismatched coordinates.