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| | <includeonly><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1|}}}}} {{{2|}}}]</span></includeonly><noinclude> | ||
{{Related|Wiki Templates}} | {{Related|Wiki Templates}} | ||
== Syntax == | == Syntax == | ||
Line 16: | Line 16: | ||
{{History|353377|here}} | {{History|353377|here}} | ||
== Usage == | == Usage == | ||
Use this to conveniently link to a specific version from a page's history. This is | Use this to conveniently link to a specific version from a page's history. This is preferabe 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. | ||
[[Category:Wiki Template]] | [[Category:Wiki Template]] | ||
</noinclude> | </noinclude> |
Revision as of 04:45, 1 March 2012
Related topics: Wiki Templates
Syntax
{{History|<oldid>|<link text>}} {{History||}}
For example:
Please see the prepatch stats {{History|353377|here}}
displays as:
Usage
Use this to conveniently link to a specific version from a page's history. This is preferabe 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.