User:MrKIA11/Archive Box

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
Archives
Archive

Current Templates Usage:

{{archives}}
{{archive box}}
{{archive box collapsible}}
{{archive list}}
[edit] Documentation

This template is designed to merge the current {{archive box}}, {{archives}}, and {{archive box collapsible}} templates into one.

[edit] Usage

{{User:MrKIA11/Archive Box
 |width=
 |collapsible=
 |large=
 |image=
 |index=
 |archivelist=
 |auto=
 |root=
 |nobr=
 |links=
 |bot-name=
 |bot-days=
}}
  • width=(px|em) Changes the box width. Default is 238px, the standard "small" size.
  • collapsible=(yes|no) Makes the box collapsible. Default is no.
  • large=(yes|no) Makes the box a standard centered message box. Default is no.
  • image=(IMAGENAME|no) Changes the default image. Default is . A few others are listed below. Can also be set to no to remove image completely.
  • index=(/INDEX) Sets the location of the archive index if available. HBC Archive Indexerbot can be used to automatically generate an index.
  • archivelist=(/ARCHIVELIST) Sets the location of the archive list if available. Default is /archivelist.
  • auto=(short|long) Makes links to archive pages automatically if they are in the format of /Archive #. Set to small for {{archive list}}, which displays the links as single numbers separated by commas, or set to large for {{archive list long}}, which displays the links in the form of Archive # in 3 columns. Small supports up to 100 archives, while large supports up to 36 archives.

If auto is used:

  • root=(PAGE) Sets the root of the archive pages. Default is the current page.
If auto=small is used:
  • links=(#) Sets the number of links per line in the archive list. Default is 10. (Not to be used with nobr)
  • nobr=(yes|no) Removes all line breaks in archive list. Default is no. (Not to be used with links)
  • bot-name=(NAME) Adds notice that page is automatically archived by NAME.
  • bot-days=(#) Adds how old a thread is before it is automatically archived.

[edit] Other Images

Vista-file-manager.png

Crystal Clear app file-manager.png

system-file-manager.svg

Icon_file_cabinet.png

File-manager.svg

File.svg

golden_file_cabinet.png

Replacement filing cabinet.svg