Template:Permalink

From RuneRealm Wiki
Jump to navigation Jump to search

Permalink

Template documentation
This documentation is transcluded from Template:Permalink/doc. [edit] [history] [purge]

This template generates a permanent link to a specified revision. To link to a specific diff, use Template:Permadiff.

Usage

This template can be used by inserting the following onto a page: {{Permalink|revision ID}}

Examples

{{Permalink|11943220}} produces
Permalink

{{Permalink|9309639|text=Page}} produces
Page

{{Permalink|42069|raw=y|plain=y}} produces
https://wiki.runerealm.org/index.php?title=/&oldid=42069

Parameters

1

The first unnamed parameter is the revision ID to link to.

text

The text to display on the link. Defaults to "Permalink".

plain

If plain is set, the generated link will be wrapped in <span class="plainlink"></span>, which prevents the external link icon from appearing.

raw

If raw is set, the generated link will appear as a URL; text is ignored.

page

The page to link to. Not necessary, as simply providing a revision ID is sufficient for MediaWiki. Purely affects what the generated URL is.