Template: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)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1|}}}}} {{{2|Link}}}]</span></includeonly>{{Related|Wiki Templates}}
<includeonly><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1|}}}}} {{{2|}}}]</span></includeonly><noinclude>
{{Related|Wiki Templates|{{mtl|Page History}}}}
== Syntax ==
== Syntax ==
<pre>
<pre>
Line 9: 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 preferably to a hard link because it will not need to be updating if the wiki move's 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>

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