User:AnomieBOT/Dating rules
Appearance
This page lists templates that AnomieBOT should add dates to, in much the same way that Wikipedia:AutoWikiBrowser/Dated templates lists templates for AWB. For that matter, AnomieBOT uses Wikipedia:AutoWikiBrowser/Dated templates too; this page is just for more complicated situations.
Format
- Each line begins with a *, then the template linked using {{tl}}, then a specification of parameters using the {{para}} template.
- To specify parameters that are required, say
withand then the list of parameter templates (all must be present); to specify parameters that are required to be absent, saywithout(all must be absent). If bothwithandwithoutare needed, specify with first and then without. - If only certain values of the parameter should be matched, use the second parameter of {{para}}. Different options may be separated with
/; a run of multiple characters may be specified with*. - To specify that a parameter other than
|date=is to be dated, saydate parameterfollowed by the parameter (in the {{para}} template). - If the template accepts dates in unnamed parameters 1–5, these may confuse the bot. To ignore them entirely, use
ignorefollowed by the parameter (in the {{para}} template). To use them to try to determine the maintenance date but refrain from deleting them as bogus, usekeepfollowed by the parameter (in the {{para}} template)
Examples
* {{tl|rp}} with {{para|needed}}
* {{tl|Weather box}} without {{para|source}} {{para|source1}}
* {{tl|orphan}} with {{para|att}} date parameter {{para|att}}
The first line will only date {{rp}} when |needed= is given; the second will only date {{Weather box}} when both |source= and |source1= are absent. The third will effectively validate the date in |att=, since it will date that parameter (instead of {{date}}) only when it is already present.
Rules
- {{rp}} with
|needed= - {{Weather box}} without
|source=|source 1= - {{orphan}} with
|att=date parameter|att= - {{orphan}} without
|att= - {{update}} ignore
|2= - {{afd-merge to}} without
|3= - {{afd-merge from}} keep
|3= - {{afd-merge required}} keep
|3= - {{complete list}} keep
|1= - {{clarify span}} ignore
|1=