Jump to content

Wikipedia:AutoWikiBrowser/Dated templates

From Wikipedia, the free encyclopedia

Documentation

Overview

  • This page lists templates which AWB should automatically add |date= to in the en-wiki main and category namespaces, as part of AWB general fixes.
  • The rule list is loaded live each time AWB is run (with general fixes enabled).
  • Before adding a rule here, you must ensure that the template needs and supports |date=.
  • AWB will add the current date in Month YYYY format (i.e. November 2024) by substituting {{CURRENTMONTHNAME}} and {{CURRENTYEAR}}.
  • These rules do not work on article talk pages.

Rule format

Notes

  • The template names are first-letter case insensitive, e.g. {{Citation needed}} and {{citation needed}} are treated as identical.
  • The first-letter case of the template is kept in the new template name.
  • Rules in nowiki or HTML comment tags are ignored.
  • There should only be one rule per actual template.
  • The order of the rules does not matter but alphabetisation helps find things on the page.
  • Keeping this page neat and organised does not affect the functioning, but it will aid navigation and readability.
  • Since the template dating is carried out as part of AWB's general fixes, commented out template calls, or those within nowiki/pre/math tags etc. will not be renamed.
  • AWB does not validate the templates used to ensure that the templates or redirects exist.

Examples

  • {{tl|Template 1}}

Mainspace rules

Draftspace rules

File namespace rules

Portal namespace rules

Userspace rules