Template:HistorySub: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
|-
|-
| History:  
| History:  
| class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[[{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->:}}{{FULLPAGENAME}}/{{{1}}}|{{{1}}}]]}}<!--
| class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[[{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->:Category}}{{PAGENAMEE}}/{{{1}}}|{{{1}}}]]}}<!--
-->{{#if:{{{2|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[[{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->&#58;}}{{FULLPAGENAME}}/{{{2}}}|{{{2}}}]]}}<!--
-->{{#if:{{{2|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[[{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->&#58;}}{{FULLPAGENAME}}/{{{2}}}|{{{2}}}]]}}<!--
-->{{#if:{{{3|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[[{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->&#58;}}{{FULLPAGENAME}}/{{{3}}}|{{{3}}}]]}}<!--
-->{{#if:{{{3|}}}|<!--TRUE-->&nbsp;&rarr;&nbsp;[[{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->&#58;}}{{FULLPAGENAME}}/{{{3}}}|{{{3}}}]]}}<!--

Revision as of 14:18, 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 archive sub-pages.

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