Template:HistorySub: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(40 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly> | ||
{| class="small-box neutral" | |||
|- | |- | ||
| History: | | History: | ||
| class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[[{{FULLPAGENAME}}/{{{1}}}]]}}<!-- | | class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->{{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{1}}}|{{{1}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{1}}}|{{{1}}}]]}}}}<!-- | ||
-->{{#if:{{{2|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{2}}}]]}}<!-- | -->{{#if:{{{2|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{2}}}|{{{2}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{2}}}|{{{2}}}]]}}}}<!-- | ||
-->{{#if:{{{3|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{3}}}]]}}<!-- | -->{{#if:{{{3|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{3}}}|{{{3}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{3}}}|{{{3}}}]]}}}}<!-- | ||
-->{{#if:{{{4|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{4}}}]]}}<!-- | -->{{#if:{{{4|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{4}}}|{{{4}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{4}}}|{{{4}}}]]}}}}<!-- | ||
-->{{#if:{{{5|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{5}}}]]}}<!-- | -->{{#if:{{{5|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{5}}}|{{{5}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{5}}}|{{{5}}}]]}}}}<!-- | ||
-->{{#if:{{{6|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{6}}}]]}}<!-- | -->{{#if:{{{6|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{6}}}|{{{6}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{6}}}|{{{6}}}]]}}}}<!-- | ||
-->{{#if:{{{7|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{7}}}]]}}<!-- | -->{{#if:{{{7|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{7}}}|{{{7}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{7}}}|{{{7}}}]]}}}}<!-- | ||
-->{{#if:{{{8|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{8}}}]]}}<!-- | -->{{#if:{{{8|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{8}}}|{{{8}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{8}}}|{{{8}}}]]}}}}<!-- | ||
-->{{#if:{{{9|}}}|<!--TRUE--> → [[{{FULLPAGENAME}}/{{{9}}}]]}}<!-- | -->{{#if:{{{9|}}}|<!--TRUE--> → {{#ifeq:{{NAMESPACE}}|Category|<!--CATEGORY-->[[:{{FULLPAGENAME}}/{{{9}}}|{{{9}}}]]|<!--PAGE-->[[{{FULLPAGENAME}}/{{{9}}}|{{{9}}}]]}}}}<!-- | ||
-->{{#if:{{{10|}}}|<!--TRUE-->TOO MANY VERSIONS!}} | -->{{#if:{{{10|}}}|<!--TRUE--> → TOO MANY VERSIONS!}} | ||
|}</includeonly><noinclude><!-- | |}</includeonly><noinclude><!-- | ||
Line 17: | Line 18: | ||
==Usage== | ==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. | The History template is meant to be used at the top of articles just below the Version template to link to archive sub-pages. | ||
<pre>{{ | <pre>{{HistorySub|<subpagename>}}</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 up to 9 sub-pages. The 10th sub-page will show an error. | *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. | |||
{{:Template Ordering}} | |||
[[Category:Templates]]</noinclude> | [[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 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.
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.