Jump to content

Wikipedia:AutoWikiBrowser/Dated templates: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Mainspace rules: already listed at WP:AWB/TR
→‎Mainspace rules: + {{Marketing material}}
Line 366: Line 366:
* {{tl|Magazine}}
* {{tl|Magazine}}
* {{tl|Manual}}
* {{tl|Manual}}
* {{tl|Marketing material}}
* {{tl|Medical citation needed}}
* {{tl|Medical citation needed}}
* {{tl|Merge}}, {{tl|Merge disputed}}
* {{tl|Merge}}, {{tl|Merge disputed}}

Revision as of 15:56, 20 October 2011

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. July 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