Template:History: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1|}}}}} {{{2|}}}]</span></includeonly><noinclude> | <includeonly><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1|}}}}} {{{2|}}}]</span></includeonly><noinclude> | ||
{{Related|Wiki Templates}} | {{Related|Wiki Templates|{{mtl|Page History}}}} | ||
== Syntax == | == Syntax == | ||
<pre> | <pre> |
Revision as of 04:51, 1 March 2012
Related topics: Wiki Templates, {{Page History}}
Syntax
{{History|<oldid>|<link text>}} {{History||}}
For example:
Please see the prepatch stats {{History|353377|here}}.
displays as:
Please see the prepatch stats 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 defaults to the history of the page it is used on. If you wish to link to the history of another page, use Template:Page History which allows you to specify which page's history you want to use.
The oldid number can be found in the page links under the History tab for every page on the wiki.