Template:History: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 10: | Line 10: | ||
For example: | For example: | ||
<pre> | <pre> | ||
Please see the prepatch stats {{History|353377|here}} | Please see the prepatch stats {{History|353377|here}}. | ||
</pre> | </pre> | ||
displays as: | displays as: | ||
{{History|353377|here}} | Please see the prepatch stats {{History|353377|here}}. | ||
== Usage == | == 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. | 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. | |||
[[Category:Wiki Template]] | [[Category:Wiki Template]] | ||
</noinclude> | </noinclude> |
Revision as of 04:49, 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:
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.