Template:HistoryId: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:
==Usage==
==Usage==
The History template is meant to be used at the top of articles just below the Version template to link to older versions of the page. <code>oldid</code> numbers can be found by clicking on the ''View history'' tab.
The History template is meant to be used at the top of articles just below the Version template to link to older versions of the page. <code>oldid</code> numbers can be found by clicking on the ''View history'' tab.
<pre>{{History|<version>|<oldid>}}</pre>
<pre>{{HistoryId|<version>|<oldid>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*You can add more pairs of version and oldid up to 9 pairs. The 10th version will show an error.
*You can add more pairs of version and oldid up to 9 pairs. The 10th version will show an error.
*If listing more than one version, order them from newest to oldest.
*If listing more than one version, order them from newest to oldest.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 06:14, 5 January 2018

Usage

The History template is meant to be used at the top of articles just below the Version template to link to older versions of the page. oldid numbers can be found by clicking on the View history tab.

{{HistoryId|<version>|<oldid>}}
  • The code above can be pasted into your page and edited.
  • You can add more pairs of version and oldid up to 9 pairs. The 10th version will show an error.
  • If listing more than one version, order them from newest to oldest.