Template:HasMap: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
(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>")
 
No edit summary
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 11:42, 17 October 2024

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: