Template:Archive box: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(I believe this is gone now)
m (Text replacement - "{{[Cc]lear}}" to "{{clr}}")
 
(7 intermediate revisions by 5 users not shown)
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.}}
<div role="navigation" aria-labelledby="archives-label" style="border:2px solid #7fbfbf; padding:.3em; background-color:#eff7f7; float:right; text-align:center; margin:0 0 .5em .5em; max-width: 95.8%"><!--
</noinclude>{| style="border: solid 2px #7fbfbf; padding: 1px; background-color:#eff7f7; float: right; text-align:center;"
-->[[File:Archive.png|50px|Archives|link=|alt=]]
|-
    {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}||<div style="font-size:85%">[[{{NAMESPACE}}:{{BASEPAGENAME}}|current talk page]]</div>}}
| [[Image:Archive.png|50px|Archives]]
    <div id="archives-label" style="padding:.3em 0;font-weight:bold">Archive{{PLURAL:{{{1|}}}||s}}</div><!--
|-
-->{{#ifexpr:{{{1|0}}}<=0|
! Archive{{PLURAL:{{{1|}}}||s}}
        '''There are no archives provided for this page.'''<br />Please specify the archive count or remove this template from this page.
|-
    |
| {{#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]]}}
        <ol style="padding:0;margin:0">{{#loop:i|1|{{{1|0}}}|<li style="display:inline;margin:.2em">[[{{NAMESPACE}}:{{BASEPAGENAME}}/Archive {{#var:i}}|{{#var:i}}]]</li>}}</ol>
|}<noinclude>{{Clear}}
    }}
{{Archive box/doc}}</noinclude>
</div><noinclude>{{clr}}
{{Archive box/doc}}
 
[[Category:Message templates]]</noinclude>

Latest revision as of 13:48, September 16, 2022

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.