Template:Permalink/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:40, 17 October 2024 (Created page with "{{Documentation}} 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: {{T|{{PAGENAME}}|revision ID}} ==Examples== {{Demo|Permalink|11943220}} {{Demo|Permalink|9309639|text=Page}} {{Demo|Permalink|42069|raw=y|plain=y}} ==Parameters== ===1=== The first unnamed parameter is the revision ID to link to. ===text=== The text to..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Permalink.
It contains usage information, categories, and other content that is not part of the original template page.

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/doc|revision ID}}

Examples

{{Permalink|11943220}} produces
Permalink

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

{{Permalink|42069|raw=y|plain=y}} produces
https://wiki2.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.