This is a documentation subpage for Template:Permadiff.
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 diff. To link to a specific revision, use Template:Permalink.

Usage

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

Examples

{{Permadiff|11943220}} produces
Permadiff

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

{{Permadiff|42069|raw=y|plain=y}} produces
https://wiki2.runerealm.org/index.php?title=/&diff=prev&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 "Permadiff".

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.