Template:HistorySub: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
|- | |- | ||
| History: | | History: | ||
| class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[[{{#var:page|{{FULLPAGENAME | | class="plainlinks" | {{#if:{{{1|}}}|<!--TRUE-->[[{{#var:page|{{FULLPAGENAME}}/{{{1}}}|{{{1}}}}}]]}}<!-- | ||
-->{{#if:{{{2|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{2|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{2}}}|{{{2}}}}}]]}}<!-- | ||
-->{{#if:{{{3|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{3|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{3}}}|{{{3}}}}}]]}}<!-- | ||
-->{{#if:{{{4|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{4|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{4}}}|{{{4}}}}}]]}}<!-- | ||
-->{{#if:{{{5|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{5|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{5}}}|{{{5}}}}}]]}}<!-- | ||
-->{{#if:{{{6|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{6|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{6}}}|{{{6}}}}}]]}}<!-- | ||
-->{{#if:{{{7|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{7|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{7}}}|{{{7}}}}}]]}}<!-- | ||
-->{{#if:{{{8|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{8|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{8}}}|{{{8}}}}}]]}}<!-- | ||
-->{{#if:{{{9|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME | -->{{#if:{{{9|}}}|<!--TRUE--> → [[{{#var:page|{{FULLPAGENAME}}/{{{9}}}|{{{9}}}}}]]}}<!-- | ||
-->{{#if:{{{10|}}}|<!--TRUE-->TOO MANY VERSIONS!}} | -->{{#if:{{{10|}}}|<!--TRUE-->TOO MANY VERSIONS!}} | ||
|}</includeonly><noinclude><!-- | |}</includeonly><noinclude><!-- |
Revision as of 14:01, 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.