Lompat ke isi

Pengguna:HsfBot/Arsip otomatis: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 19: Baris 19:


}}</includeonly>
}}</includeonly>
===Parameter templat=== <!--T:4-->

<!--T:5-->
Meanings of the template's parameters are:
</translate>
{| class = "wikitable"
! <translate><!--T:22-->
Template parameter</translate> || <translate><!--T:23-->
Description</translate>
|-
|<code>archive</code> || <translate><!--T:6-->
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>
|-
|<code>algo</code> || <translate><!--T:7-->
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><code>24h</code></> (24 hours) or <tvar|v2><code>5d</code></> (5 days). Default is <tvar|defalgo><code>old(24h)</code></>.</translate>
|-
|<code>counter</code> || <translate><!--T:8-->
The current value of a counter which could be assigned as variable. Will be actualized by bot. Initial value is <tvar|v><code>1</code></>.</translate>
|-
|<code>maxarchivesize</code> || <translate><!--T:9-->
The maximum archive size before incrementing the counter. Value can be given with appending letter like <tvar|k><code>K</code></> or <tvar|m><code>M</code></> which indicates KByte or MByte. Default value is <tvar|defmaxsize><code>1000M</code></> (1000 megabytes).</translate>
|-
|<code>minthreadsleft</code> || <translate><!--T:10-->
Minimum number of threads that should be left on a page. Default value is <tvar|defmin1><code>5</code></>.</translate>
|-
|<code>minthreadstoarchive</code> || <translate><!--T:11-->
The minimum number of threads to archive at once. Default value is <tvar|defmin2><code>2</code></>.</translate>
|-
|<code>archiveheader</code> || <translate><!--T:12-->
Content that will be put on new archive pages as the header. This parameter supports the use of variables. Default value is <tvar|template><code><nowiki>{{talkarchive}}</nowiki></code></>.</translate>
|-
|<code>key</code> || <translate><!--T:13-->
A secret key that (if valid) allows archives to not be subpages of the page being archived.</translate>
|}

{{anchor|variables}}
<translate>