Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Archive config/doc

Template page
Revision as of 15:18, 8 January 2026 by imported>Outrowed (Installation: moved to Help:Talk archiving#One click archiving)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation header

Based on Wikipedia:User:MiszaBot/config

This template is used to manage OneClickArchiver for use on talk pages.

Installation

For installation of one click archiving user scripts, please refer to Template:Slink.

Usage

To control which archive page sections should be moved to, place {{Archive config|counter=<number>}} to the top of the page, changing <number> to an integer; for example, use {{Archive config|counter=29}} to add pages to "{FULLPAGENAME}/Archive 29". To control the format of the subpage name, use Template:P: for example use {{Archive config|archive=That page/Archive %(year)d}} to create an archive at "That page/Archive 2026".

Variables

You may use the following variables to control the format of an archive:

Variable parameter Expands to...
%(counter)d The current value of Template:P
%(year)d Year of the thread being archived
%(month)d Month (as a number, 1–12) of the thread being archived
%(monthname)s Full name of the month of the thread being archived
%(monthnameshort)s First three letters of the month of thread being archived



Contents