Template:HistoryId: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(11 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: || class="plainlinks" | <span style="color=#B78F51">{{#if:{{{1|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{2}}}}} {{{1}}}]}}<!--
| History:  
| class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[{{fullurl:{{FULLPAGENAME}}|oldid={{{2}}}}} {{{1}}}]}}<!--
-->{{#if:{{{3|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{4}}}}} {{{3}}}]}}<!--
-->{{#if:{{{3|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{4}}}}} {{{3}}}]}}<!--
-->{{#if:{{{5|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{6}}}}} {{{5}}}]}}<!--
-->{{#if:{{{5|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{6}}}}} {{{5}}}]}}<!--
Line 10: Line 11:
-->{{#if:{{{15|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{16}}}}} {{{15}}}]}}<!--
-->{{#if:{{{15|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{16}}}}} {{{15}}}]}}<!--
-->{{#if:{{{17|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{18}}}}} {{{17}}}]}}<!--
-->{{#if:{{{17|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[{{fullurl:{{FULLPAGENAME}}|oldid={{{18}}}}} {{{17}}}]}}<!--
-->{{#if:{{{19|}}}|<!--TRUE-->TOO MANY VERSIONS!}}</span>
-->{{#if:{{{19|}}}|<!--TRUE-->TOO MANY VERSIONS!}}
|}</includeonly><noinclude><!--
|}</includeonly><noinclude><!--


-->
-->
==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.