Template:Autoarchive resolved section/doc

Usage
This type of archiving is done by SpBot (not by ArchiverBot). It requires the use of either section resolved or the  parameter of this template (normal archiving).

It does not matter where the template "Section resolved" is placed within the section. It will always refers to the last/previous heading of the section to be archived.

To quickly use a standard setup to archive your user talk page, see.

Template parameters
{	"params": { "age": { "type": "number", "description": { "en": "Parameter 'age' defines the required age of the the template Section resolved in days. After this amount of days the section will be archived." },			"required": true },		"archive": { "type": "string", "description": { "en": "You can use variables in your 'archive' parameter as listed below.\nExample: 'archive=Talk:Some page/Archives/((year))/((month:short))' (just an example, not really used there)" },			"required": true },		"overview": { "type": "wiki-page-name", "description": { "en": "The parameter 'overview' can be used to display a link to the location of the archive page. Example code: 'overview=/Archive' Results in an archive overview link at  . An alternative to this parameter is the use of Template:Archive box." }		},		"latest archive": { "type": "wiki-page-name", "default": "", "description": { "en": "The parameter  can be used to display a link to the current archive. Example code:   Results in: The latest archive is located under Forum/Archiv/2016/October." }		},		"show": { "default": "yes", "type": "string", "description": { "en": "The parameter  defines if the template should display anything or not:   or  . This parameter can be used if the template is used on a page which has an own intro explaining the archiving parameters." }		},		"level": { "type": "number", "default": "2", "description": { "en": "Parameter 'level' defines which heading level should be archived. Deeper heading levels are treated as part of the specified level.", "example": "\n == talk page section level II ==\n :Such a heading is level 2.\n ==== talk page section level IV ====\n :Such a heading is level 4." }		},		"timecompare": { "type": "string", "default": "[empty]", "description": { "en": "This parameter specifies which timestamp should be used for distribution into the archives. In the parameter 'archive' you can use variables referring to the date.\n 'timecompare' defines which timestamp is used for this parameter 'archive'.\n 'timecompare = resolved': Timestamp given by \n Any other value or empty: the oldest timestamp of the whole section", "example": "See commons:Graphic Lab/Video and sound workshop" }		},		"timeout": { "type": "number", "default": "0", "description": { "en": "Specifies the number of days have to pass by to consider a section as 'resolved' automatically, even if no Section resolved template was set. Archiving will be proceeded if the specified period of time (timeout) has passed since the last comment. The template DNAU is supported." }		}	},	"description": "", "format": null, "paramOrder": [ "age", "archive", "overview", "latest archive", "show", "level", "timecompare", "timeout" ] }

"Archive" parameter variables
You can use the following variables in your -parameter: Example:

Example
The following example is derived from the archiving setup of commons:Commons:Village pump. All marked/tagged sections with level 2 (that is ) will be archived one day after placement of Template:Section resolved. The archives are at commons:Special:PrefixIndex/Commons:Village pump. The archiving will be done to /Archive/2017/January if the first comment in this section was made in January.

That will look like this:

Signature format
The date and time part of the signature are important for recognition of the timestamp. The default format specified by MediaWiki is sufficient (11:55, 29. 2024 (UTC)). It corresponds to the following structure: , .  (UTC) Other formats are not supported.

Error lists
Talk pages containing errors in their main templates or Section resolved are shown in the following lists and on the corresponding talk page.
 * error messages reported by the bot - please remove the last line after the problem is solved
 * parameter error in Template:Section resolved
 * no age set
 * no archive set
 * Info
 * parameter timecompare set to 'resolved'
 * parameter timeout set