Minecraft Wiki
Advertisement
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Based on Wikipedia:User:MiszaBot/config

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

Installation

To install OneClickArchiver, simply add {{subst:archive config}} to your common.js file.

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 |archive=: for example use {{Archive config|archive=That page/Archive %(year)d}} to create an archive at "That page/Archive 2023".

Variables

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

Variable parameter Expands to...
%(counter)d the current value of the counter
%(year)d year of the thread being archived
%(month)d month (as a number 1-12) of the thread being archived
%(monthname)s English name of the month above
%(monthnameshort)s first three letters of the name above



Advertisement