Difference between revisions of "Template:DMC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Fryed-peach
m
imported>Debresser
m (typo)
Line 5: Line 5:
  
  
*This adds a category or dated category to a pagey.
+
*This adds a category or dated category to a page.
 
*It will add it to an optional additional category.
 
*It will add it to an optional additional category.
 
*If the dated cat is invalid it will add it to [[:Category:Articles with invalid date parameter in template]]  
 
*If the dated cat is invalid it will add it to [[:Category:Articles with invalid date parameter in template]]  

Revision as of 00:56, 25 May 2009

Usage

Syntax

  • Parameter 1: Default category name
  • Parameter 2: Preposition (from, since, as at, as of)
  • Parameter 3: Date (Month Year, e.g. {January 2026) usually the "date" parameter of the calling template
  • Parameter 4: All inclusive category name - e.g. All articles containing weasel words
  • Parameter 5: Alternative default category (overrides 1 which is then only used to construct the dated category if it exists)

Note

Even if the constructed dated category doesn't exist it is still used. This enables more rapid fault finding.

See also

{{DMCA}}