Difference between revisions of "Template:DMC/doc"
Jump to navigation
Jump to search
imported>Rich Farmbrough (←Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === *This adds a category or dated category to a pag…') |
imported>Fryed-peach m |
||
| Line 24: | Line 24: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | {{uncategorized template}} | ||
</includeonly> | </includeonly> | ||
Revision as of 19:25, 7 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 pagey.
- 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}}