Jump to content

Template:Archives

From Wikidata
Documentation icon Template documentation[view · edit · history · purge ]

You can use this template to give a sign at a discussion page or any other one that old sections are archived.

How to

[edit]

Copy to the top of your page: {{Archives}}

See also

[edit]

Translations

[edit]


TemplateData

[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

Archives

Display a search and navigation box for archived subpages

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
List of manual archiveslist 1

Inline list of manually maintained archives

Example
[[/Archive 1]], [[/Archive 2]]
Contentoptional
Demospacedemospace

Demospace parameter for {{Talk other}}

Suggested values
other talk
Default
talk
Example
other
Lineoptional
Collapsible?collapsible

Whether or not the list should be collapsible

Default
no
Example
yes
Booleanoptional
Collapsed?collapsed

Whether or not the list is pre-collapsed; if set to yes, will also force the list to be collapsible regardless of the value of the collapsible parameter.

Default
no
Example
yes
Booleanoptional
Box widthbox-width

no description

Linedeprecated
Extra CSS stylesstyle

Arbitrary custom CSS styling

Lineoptional
Targettarget

no description

Unknownoptional
Icon imageimage

The image to be used for the icon, without the 'File:' namespace prefix; set to 'none' to remove the icon.

Default
Replacement filing cabinet.svg
Example
none
Fileoptional
Icon alt textalt

Icon alt text, for accessibility

Stringdeprecated
Icon linklink

Page that the icon links to when clicked

Page namedeprecated
Icon sizeimage-size

Size of the icon

Default
40px
Example
x60px
Lineoptional
Titletitle

An alternative title

Default
Archives
Lineoptional
Automatic detectionauto

Whether to spell out archive names (long), only list numbers (short), or disable automatic detection entirely

Suggested values
long no short
Default
long
Example
short
Lineoptional
Archive index pageindex

Links the 'Archives' title to a specified subpage that should be the subject index page for all archived discussions; set to 'none' to disable.

Example
none
Page nameoptional
Archive list pagearchivelist

With this parameter you are able to create a whole page where you can customize your archive list, whose name should be the value for the parameter; should be a subpage that contains the archive list.

Example
Wikidata:Media copyright questions/Archivelist
Page nameoptional
Archive page rootroot

What should be prepended to the archive name (trailing slash automatically added)

Default
{{FULLPAGENAME}}
Page nameoptional
Archive page prefixprefix

What should be prepended to the archive name (trailing slash not automatically added)

Default
{{FULLPAGENAME}}/
Lineoptional
Search bar?search

Set to 'no' to disable the search bar

Default
yes
Example
no
Booleanoptional
Search button under input?search-break

Inserts a newline between the search input field and search button, preventing them from being on the same line; defaults to 'no' if in banner format, otherwise 'yes'.

Booleanoptional
Search field widthsearch-width

Width of the search input box, in CSS em units

Default
22
Example
30
Numberoptional
Search button labelsearch-button-label

Label for the search button

Default
Search archives
Example
Search
Lineoptional
Archiving intervalage

If specified, this will be displayed as the archiving delay.

Numberdeprecated
Archiving interval unitunits

If specified, this will add units for the archiving delay, defaults to 'days'

Suggested values
days weeks months
Default
days
Example
months
Linedeprecated
Name of auto-archiving botbot

If specified, a note about automatic archiving will be shown

Userdeprecated
Min. # of threads archiving bot will leave on pageminthreadszero

If specified, this will display a note explaining that the page won't be emptied out

Numberdeprecated
botnotesmallbotnotesmall

no description

Unknownoptional
editboxeditbox

no description

Unknownoptional

See also

[edit]