Template:Page History: Difference between revisions
From Drunkapedia
imported>Tlosk (Created page with "<includeonly><span class="plainlinks">[{{fullurl:{{{{{1|}}}}}|oldid={{{2|}}}}} {{{3|}}}]</span></includeonly><noinclude> {{Related|Wiki Templates|{{mtl|History}}}} == Syntax == <...") |
imported>Tlosk No edit summary |
||
Line 10: | Line 10: | ||
For example: | For example: | ||
<pre> | <pre> | ||
Please see the prepatch Drudge stats {{Drudge|344991|here}}. | Please see the prepatch Drudge stats {{Page History|Drudge|344991|here}}. | ||
</pre> | </pre> | ||
displays as: | displays as: | ||
Please see the prepatch Drudge stats {{Drudge|344991|here}}. | Please see the prepatch Drudge stats {{Page History|Drudge|344991|here}}. | ||
== Usage == | == Usage == |
Revision as of 04:52, 1 March 2012
Related topics: Wiki Templates, {{History}}
Syntax
{{Page History|<page name>|<oldid>|<link text>}} {{Page History|||}}
For example:
Please see the prepatch Drudge stats {{Page History|Drudge|344991|here}}.
displays as:
Please see the prepatch Drudge stats [{{fullurl:Template:Drudge|oldid=344991}} here].
Usage
Use this to conveniently link to a specific version from a page's history. This is preferable to a hard link because it will not need to be updated if the wiki moves hosting (providing a complete database transfer takes place). Also it does not display the external link icon. This template requires you to specify the page and thus allows you to refer to any page you wish, a shorter template can be used if you wish to default to the page it is used on by using Template:History.
The oldid number can be found in the page links under the History tab for every page on the wiki.