Template:HistoryId: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="border: 1px solid rgb(183,143,81); border-width: 1px 4px; border-radius: 0.33em; background: rgba(80,60,30,0.4); padding: 0px 4px;"
<includeonly>{| class="small-box neutral"
|-
|-
| History:
| History:  
| {{#if:{{{1|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{2}}}}} {{{1}}}]}}<!--
| class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{2}}}}} {{{1}}}]}}<!--
-->{{#if:{{{3|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{4}}}}} {{{3}}}]}}<!--
-->{{#if:{{{3|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{4}}}}} {{{3}}}]}}<!--
-->{{#if:{{{5|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{6}}}}} {{{5}}}]}}<!--
-->{{#if:{{{5|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{6}}}}} {{{5}}}]}}<!--
-->{{#if:{{{7|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{8}}}}} {{{7}}}]}}<!--
-->{{#if:{{{7|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{8}}}}} {{{7}}}]}}<!--
-->{{#if:{{{9|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{10}}}}} {{{9}}}]}}<!--
-->{{#if:{{{9|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{10}}}}} {{{9}}}]}}<!--
-->{{#if:{{{11|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{12}}}}} {{{11}}}]}}<!--
-->{{#if:{{{11|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{12}}}}} {{{11}}}]}}<!--
-->{{#if:{{{13|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{14}}}}} {{{13}}}]}}<!--
-->{{#if:{{{13|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{14}}}}} {{{13}}}]}}<!--
-->{{#if:{{{15|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{16}}}}} {{{15}}}]}}<!--
-->{{#if:{{{15|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{16}}}}} {{{15}}}]}}<!--
-->{{#if:{{{17|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{18}}}}} {{{17}}}]}}<!--
-->{{#if:{{{17|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{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 on the same line as the Version template to indicate that there are versions of the page created from older versions of Medieval Engineers.
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.</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.