Template:Archive box: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(I believe this is gone now)
(this should make things simpler and remove the hard limit of 20)
Line 1: Line 1:
<noinclude>{{DeprecationReason|A parameter of how many archive pages there are is now required. Use [[Special:PrefixIndex]] if you lose track of how many there are.}}
{| style="border: solid 2px #7fbfbf; padding: 1px; background-color:#eff7f7; float: right; text-align:center;"
</noinclude>{| style="border: solid 2px #7fbfbf; padding: 1px; background-color:#eff7f7; float: right; text-align:center;"
|-
|-
| [[Image:Archive.png|50px|Archives]]
| [[Image:Archive.png|50px|Archives]]
Line 6: Line 5:
! Archive{{PLURAL:{{{1|}}}||s}}
! Archive{{PLURAL:{{{1|}}}||s}}
|-
|-
| {{#ifexpr:{{{1|0}}}<=0|'''There are no archives provided for this page.'''<br/>Please specify the archive count or remove this template from this page.}} {{#ifexpr:{{{1|0}}}>=1|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 1|1]]}} {{#ifexpr:{{{1|0}}}>=2|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 2|2]]}} {{#ifexpr:{{{1|0}}}>=3|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 3|3]]}} {{#ifexpr:{{{1|0}}}>=4|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 4|4]]}} {{#ifexpr:{{{1|0}}}>=5|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 5|5]]}} {{#ifexpr:{{{1|0}}}>=6|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 6|6]]}} {{#ifexpr:{{{1|0}}}>=7|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 7|7]]}} {{#ifexpr:{{{1|0}}}>=8|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 8|8]]}} {{#ifexpr:{{{1|0}}}>=9|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 9|9]]}} {{#ifexpr:{{{1|0}}}>=10|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 10|10]]}}{{#ifexpr:{{{1|0}}}>=11|<br/>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 11|11]]}} {{#ifexpr:{{{1|0}}}>=12|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 12|12]]}} {{#ifexpr:{{{1|0}}}>=13|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 13|13]]}} {{#ifexpr:{{{1|0}}}>=14|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 14|14]]}} {{#ifexpr:{{{1|0}}}>=15|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 15|15]]}} {{#ifexpr:{{{1|0}}}>=16|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 16|16]]}} {{#ifexpr:{{{1|0}}}>=17|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 17|17]]}} {{#ifexpr:{{{1|0}}}>=18|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 18|18]]}} {{#ifexpr:{{{1|0}}}>=19|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 19|19]]}} {{#ifexpr:{{{1|0}}}>=20|[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive 20|20]]}}
|{{#ifexpr:{{{1|0}}}<=0|'''There are no archives provided for this page.'''<br/>Please specify the archive count or remove this template from this page.}}{{#loop:i|1|{{{1|0}}}|<nowiki/> [[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive {{#var:i}}|{{#var:i}}]]}}
|}<noinclude>{{Clear}}
|}<noinclude>{{Clear}}
{{Archive box/doc}}</noinclude>
{{Archive box/doc}}</noinclude>

Revision as of 18:23, May 21, 2013

Archives
Archives
There are no archives provided for this page.
Please specify the archive count or remove this template from this page.

Usage

Note: The following documentation is stored at Template:Archive box/doc. If you would like to change this text, please edit it there.

This template creates an archive box which links to archives of pages such as talk pages. This can be done with {{Archive box|numberOfArchives}}, where "numberOfArchives" is the number of archive pages.