Template:Page History: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
m (1 revision: For full history see http://ac.wikkii.net)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[{{fullurl:{{{{{1|}}}}}|oldid={{{2|}}}}} {{{3|}}}]</span></includeonly><noinclude>
<includeonly><span class="plainlinks">[{{fullurl:{{{1|}}}|oldid={{{2|}}}}} {{{3|}}}]</span></includeonly><noinclude>
{{Related|Wiki Templates|{{mtl|History}}}}
{{Related|Wiki Templates|{{mtl|History}}}}
== Syntax ==
== Syntax ==

Latest revision as of 05:54, 28 November 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 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.