Difference between revisions of "Template:DMC/doc"
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 | + | *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
| This is a documentation subpage for Template:DMC. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- This adds a category or dated category to a page.
- 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
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}}