Jump to content

User:AnomieBOT/Dating rules

From Wikipedia, the free encyclopedia

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 with and then the list of parameter templates (all must be present); to specify parameters that are required to be absent, say without (all must be absent). If both with and without are 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, say date parameter followed 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 ignore followed by the parameter (in the {{para}} template). To use them to try to determine the maintenance date but refrain from deleting them as bogus, use keep followed 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