Template:HasMap

From RuneRealm Wiki

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:30, 17 October 2024 (Created page with "<includeonly>{{MessageBox |class = info plainlinks |img = center|link= |This page has an interactive map associated with it. {{#ifeq:{{#sub:{{{2|}}}|0|4}}|http|[{{{2}}} Click here]|[[{{{2|/Map}}}|Click here]]}} to view {{{1|{{PAGENAME}}}}} in more detail. }}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:HasMap/doc. [edit] [history] [purge]

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:

URL example

{{HasMap|the world map|https://maps.runescape.wiki/osrs/#1/0/0/3232/3232}} becomes: