Pengguna:HsfBot/Arsip otomatis
Penggunaan
Tambahkan templat berikut di bagian paling atas halaman yang akan diarsipkan:
{{Pengguna:Hsfbot/config |archive = |algo = |counter = |maxarchivesize = |minthreadsleft = |minthreadstoarchive = |archiveheader = |key = }}
Parameter templat
Meanings of the template's parameters are: </translate>
<translate>
Template parameter</translate> || <translate> Description</translate> | |
---|---|
archive |
<translate>
name of the page to which archived threads will be put. Must be a subpage of the current page. [[<tvar|anchor>#variables</>|Variables]] are supported.</translate> |
algo |
<translate>
specifies the maximum age of a thread. Must be in the form old(delay) where delay specifies the age in hours or days like <tvar|v1> |
counter |
<translate>
The current value of a counter which could be assigned as variable. Will be actualized by bot. Initial value is <tvar|v> |
maxarchivesize |
<translate>
The maximum archive size before incrementing the counter. Value can be given with appending letter like <tvar|k> |
minthreadsleft |
<translate>
Minimum number of threads that should be left on a page. Default value is <tvar|defmin1> |
minthreadstoarchive |
<translate>
The minimum number of threads to archive at once. Default value is <tvar|defmin2> |
archiveheader |
<translate>
Content that will be put on new archive pages as the header. This parameter supports the use of variables. Default value is <tvar|template> |
key |
<translate>
A secret key that (if valid) allows archives to not be subpages of the page being archived.</translate> |
<translate>