Uporabnik:Mihas-bot/Arhiviranje: Razlika med redakcijama

mBrez povzetka urejanja
 
<pre><nowiki>
{{UserUporabnik:MiszaBotMihas-bot/Arhiviranje/config
|algo = old(...)
|archive = Name of archive page
</nowiki></pre>
 
Well, maybe '''not exactly''' that (read about required options below), but that's how it's done. By the way, [[UserUporabnik:MiszaBotMihas-bot/Arhiviranje/config|the template]] has '''no content''' and is sysop-'''protected''', so don't worry about visual appearance. :)
 
The bot expects to see only one parameter per line. If you drop out the newlines used in the above example, e.g. by wrapping the template invocation onto a single line, the bot may not do what you expect.
 
<pre><nowiki>
{{UserUporabnik:MiszaBotMihas-bot/Arhiviranje/config
|algo = old(7d)
|archive = User talk:Example/Archive
==== Example 2 - incremental archives ====
<pre><nowiki>
{{UserUporabnik:MiszaBotMihas-bot/Arhiviranje/config
|algo = old(48h)
|archive = User talk:Example/Archive %(counter)d
 
<pre><nowiki>
{{UserUporabnik:MiszaBotMihas-bot/Arhiviranje/config
|algo = old(5d)
|archive = User talk:Example/Archives/%(year)d/%(monthname)s
19.083

urejanj