Template:Autoarchive resolved section/doc
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
__EXPECTED_UNCONNECTED_PAGE__
Usage
<poem>{{Autoarchive resolved section
|age = |archive = |show = |level = |timecompare = |timeout =
}}</poem>
⧼templatedata-doc-params⧽
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
age | The parameter age defines the required age of the template block Script error: No such module "Template link general". in days. After this amount of days the section will be archived. | empty | required | |
archive | Path to archive. You can use variables in your archive parameter as listed below.Path inclusion with ASCII apostrophes (') is not necessary, but allowed for historic reasons. | empty | required | |
overview | The parameter overview can be used to display a link to the location of the archive page. Example code: overview=[[Commons:Village pump/Archive]]/ results in“For the archive overview, see Commons:Village pump/Archive.” An alternative to this parameter is the use of template {{Archive box}}. | empty | optional | |
latest archive | The parameter latest archive can be used to display a link to the current archive. The archive parameter variables can be used. Example code: latest archive=[[Commons:Village pump/Archive/2011/02]] results in“The latest archive is located under Commons:Village pump/Archive/2011/02.” | empty | optional | |
show | The parameter show defines, whether the template should display anything or not: show=yes (default) or show=no. This parameter can be used, if the template is used on a page which has an own intro explaining the archiving parameters. | yes | optional | |
level | Parameter level defines which heading level should be archived. Deeper heading levels are treated as part of the specified level.
(hint: Count the equal signs) == talk page section level II ==
==== talk page section level IV ====
(Tipp: Zähle die Gleichheitszeichen) == Diskussionsüberschrift Ebene II ==
==== Diskussionsüberschrift Ebene IV ====
| 2 | optional | |
timecompare | The parameter timecompare specifies which timestamp should be used for distribution into the archives. In the parameter archive you can use variables referring to the date. timecompare defines which timestamp is used for archiving.
| empty | optional | |
timeout | The parameter timeout specifies after how many days a section without new amounts is automatically "resolved", even if no {{Section resolved}} block has been set. Archiving only takes place after the time has elapsed if this parameter has been set (and is not equal to 0). The template {{DNAU}} (similar to en:Template:Do not archive) is supported here.By setting this parameter, the behavior of ArchiverBot (see also en:User:MiszaBot/Archive HowTo) can be partially achieved. In this case, it is no longer necessary to include the current template and additionally Script error: No such module "Template link general"., which are processed by two different bots, but only Script error: No such module "Template link general". for SpBot. | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: all talk namespaces and noticeboards
The template is intended to be used by the following user groups: all users
Localization
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)
Template:Anchor“Archive” parameter variables
Template:LangswitchTemplate:Colon
| variable | meaning |
|---|---|
| ((year)) | year, e.g. 2025 |
| ((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.
|
Template:LangswitchTemplate:Colon
archive=((FULLPAGENAME))/Archive/((year))/((month:short)) archive=Commons:Village pump/Archive/((year))/((month:##))
Template:AnchorExample
{{Autoarchive resolved section
|age=7
|archive='((FULLPAGENAME))/Archive/((year))'
|overview=[[{{FULLPAGENAME}}/Archive|Archive]]
}}
That will look like thisTemplate:Colon Template:Autoarchive resolved section
Template:AnchorSignature format
Talk pages containing errors in their main template usage or in {{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 {{Section resolved}}
- no
ageset - no
archiveset
Informational lists: