Template:HistorySub: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->{{#vardefine:page|:{{FULLPAGENAME}}}}|<!--FALSE-->{{#vardefine:page|{{FULLPAGENAME}}}}}}
-->{{#ifeq:{{NAMESPACE}}|Category|<!--TRUE-->{{#vardefine:page|:{{FULLPAGENAME}}}}cat|page<!--FALSE-->{{#vardefine:page|{{FULLPAGENAME}}}}}}
{| 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;"
{| 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;"
|-
|-

Revision as of 14:05, 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.