Template:Autoarchive resolved section

Template documentation

Lua error in package.lua at line 80: module 'Module:LangSwitch' not found.


{{Autoarchive resolved section
 |age =
 |archive =
 |show =
 |level =
 |timecompare =
 |timeout =

SpBot archiving requires the use of either start-Section resolved-end or the timeout parameter of this template (usual archiving like by MiszaBot).

It does not matter where the template {{Section resolved|…}} is placed within the section. It will always refer to the last/previous heading of the section to be archived (see parameter level).

The template relies on a certain time stamp format, for more see in Signature format.

To quickly use a standard setup to archive your user talk page, see Template:Autoarchive resolved section/usertalksetup (see own description).

Template parameters

Lua error in package.lua at line 80: module 'Module:LangSwitch' not found.

Additional information

The template is intended to be used in the following namespaces: all talk namespaces

The template is intended to be used by the following user groups: all users


To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

“Archive” parameter variables

You can use the following variables in the archive parameter:

variable meaning
((year)) year, e.g. 2020
((month:long)) full monthname, e.g. February
((month:short)) short monthname, e.g. Feb
((month:##)) month as two digits, e.g. 02
((week)) week date as a number, e.g. 4 or 15 (per ISO 8601)
((week:##)) week date as a two digits, e.g. 04 or 15 (per ISO 8601)
((day:##)) day of month as two digits, e.g. 07 or 31
((quarter)) quarter, e.g. 3
((quarter:##)) quarter as two digits, e.g. 03
((quarter:i)) quarter as lowercase Roman numerals, e.g. iii or iv
((quarter:I)) quarter as uppercase Roman numerals, e.g. III or IV
((half-year)) half-year, e.g. 2
((half-year:i)) half-year as lowercase Roman numeral, e.g. ii
((half-year:I)) half-year as uppercase Roman numeral, e.g. II
((FULLPAGENAME)) The full page name (namespace + actual page) name of the current page. Same as {{FULLPAGENAME}}, but with normal brackets. Use this instead of hard coding your page name.


archive=Commons:Village pump/Archive/((year))/((month:##))


⧼seealso⧽: Template:Autoarchive resolved section/usertalksetup

The following example is derived from the archiving setup of dewiki’s Wikipedia:Redaktion Chemie. All marked/tagged sections with level 2 (that is ==) will be archived seven days after placement of a start-Section resolved-end block. The archive is at Wikipedia:Redaktion Chemie/Archiv. The archiving will be done to Wikipedia:Redaktion Chemie/Archiv/2007/Januar if the first comment in this section was made in January.

{{Autoarchive resolved section

That will look like this:

Filing cabinet icon.svg
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 7 days. For the archive overview, see Archive.

Signature format

The date and time part of the signature is important for recognition of the timestamp. The default format specified by MediaWiki and automatically created, when ~~~~ or ~~~~~ is entered, is sufficient: 11:47, 20 October 2020 (UTC), also with abbreviated month: Oct. This corresponds to the following structure with Mediawiki variables: {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) (short month name: {{CURRENTMONTHABBREV}}. When directly entered these variables must be substituted (the according {{LOCAL…}} variants can be used, as well).

Other formats are not supported.

Error lists

Talk pages containing errors in their main template usage or in start-Section resolved-end are shown in the following lists and on the corresponding talk page.

Informational lists