Template:Archive box: Difference between revisions

A nifty "additions": "Archive" for 1 archive; "Archives" for the rest, and a blank if you fail one way or the other; plus, "Usage" editing
(A nifty "additions": "Archive" for 1 archive; "Archives" for the rest, and a blank if you fail one way or the other; plus, "Usage" editing)
Line 3: Line 3:
|<center>[[Image:Replacement filing cabinet.svg|40px|Archives]]</center>
|<center>[[Image:Replacement filing cabinet.svg|40px|Archives]]</center>
|-
|-
|<center>'''Archives'''</center>
|{{#switch:{{{1}}}
| 1 = {{!}}-{{!}}<center>'''Archive'''</center>
| 2 = {{!}}-{{!}}<center>'''Archive</center>
| 3
| 4
| 5
| 6
| 7
| 8
|
}}
----
----
<center>{{#switch:{{{1}}}
<center>{{#switch:{{{1}}}
Line 20: Line 30:
<noinclude>{{Clear}}
<noinclude>{{Clear}}
==Usage==
==Usage==
This template creates an archive box which links to archives of pages such as talk pages. This can be done with <nowiki>{{User:RAN1/Page Archive Box|# of Archives}}</nowiki>, where "# of Archives" is the number of archive pages. Please note, however, that there is a limit to the number of archives currently. It must be updated to satisfy the number of user archives. You should ask someone good with templates if you receive the box displayed above.
This template creates an archive box which links to archives of pages such as talk pages. This can be done with <nowiki>{{Archive Box|# of Archives}}</nowiki>, where "# of Archives" is the number of archive pages. Please note, however, that there is a limit to the number of archives currently (8). It must be updated to satisfy the number of user archives. You should ask someone good with templates if you receive the box displayed above.
</noinclude><noinclude>
</noinclude><noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
6

edits