Template:HistoryId: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) (Created page with "<includeonly>{| style="border: 1px solid rgb(183,143,81); border-width: 1px 4px; border-radius: 0.33em; background: rgba(80,60,30,0.4);" |- | Old Versions: | {{#if:{{{1|}}}|<!...") |
CptTwinkie (talk | contribs) mNo edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| class="small-box neutral" | ||
|- | |- | ||
| | | History: | ||
| {{#if:{{{1|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{2}}}}} {{{ | | class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{2}}}}} {{{1}}}]}}<!-- | ||
-->{{#if:{{{3|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{4}}}}} {{{ | -->{{#if:{{{3|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{4}}}}} {{{3}}}]}}<!-- | ||
-->{{#if:{{{5|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{6}}}}} {{{ | -->{{#if:{{{5|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{6}}}}} {{{5}}}]}}<!-- | ||
-->{{#if:{{{7|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{8}}}}} {{{ | -->{{#if:{{{7|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{8}}}}} {{{7}}}]}}<!-- | ||
-->{{#if:{{{9|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{10}}}}} {{{ | -->{{#if:{{{9|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{10}}}}} {{{9}}}]}}<!-- | ||
-->{{#if:{{{11|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{12}}}}} {{{ | -->{{#if:{{{11|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{12}}}}} {{{11}}}]}}<!-- | ||
-->{{#if:{{{13|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{14}}}}} {{{ | -->{{#if:{{{13|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{14}}}}} {{{13}}}]}}<!-- | ||
-->{{#if:{{{15|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{16}}}}} {{{ | -->{{#if:{{{15|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{16}}}}} {{{15}}}]}}<!-- | ||
-->{{#if:{{{17|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{18}}}}} {{{ | -->{{#if:{{{17|}}}|<!--TRUE--> → [{{fullurl:{{FULLPAGENAME}}|oldid={{{18}}}}} {{{17}}}]}}<!-- | ||
-->{{#if:{{{19|}}}|<!--TRUE-->TOO MANY VERSIONS!}} | -->{{#if:{{{19|}}}|<!--TRUE-->TOO MANY VERSIONS!}} | ||
|}</includeonly><noinclude><!-- | |}</includeonly><noinclude><!-- | ||
Line 16: | Line 16: | ||
--> | --> | ||
==Usage== | ==Usage== | ||
The History template is meant to be used at the top of articles | 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>{{ | <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.</noinclude> | *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. | |||
{{:Template Ordering}} | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 16:46, 11 May 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.
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.