Difference between revisions of "Template:CotM/doc"
Jump to navigation
Jump to search
imported>Rich Farmbrough |
imported>Vanisaac m (→Category: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 4: | Line 4: | ||
__NOTOC__ | __NOTOC__ | ||
== Usage == | == Usage == | ||
| − | To use, add {{tlx|CotM|year= | + | To use, add {{tlx|CotM|year{{=}}{{var|YY}}|month{{=}}{{var|MM}}|project{{=}}{{var|project name}}|project2{{=}}{{var|second project name}}}} to an article talk page, generally above existing project banners when the collaboration is current, and after them when it is not. This template may be placed inside {{|tlx|WikiProjectBannerShell}}, when present, if the top of the talk page is cluttered, and {{em|should}} be, at the bottom, when the collaboration has ended. |
===Required parameters=== | ===Required parameters=== | ||
| − | * | + | *{{para|year}} ''four digits, e.g. 2010'' |
| − | * | + | *{{para|month}} ''must be numeric, with or without a leading zero, e.g. April = 4, November = 11'' |
| − | * | + | *{{para|project}} ''name of project (minus "Wikipedia:WikiProject "), e.g. [[Wikipedia:WikiProject Venezuela]] = Venezuela'' |
| + | *{{para|project2}} ''name of second project in the collaboration'' | ||
===Optional parameters=== | ===Optional parameters=== | ||
| − | * | + | *{{para|board}} ''page where the collaboration is discussed'' |
| − | *< | + | *{{para|project3}} ''name of third project in case the collaboration involves three''; <code>project</code> and <code>project2</code> have to be specified also. |
| + | *{{para|project4}} ''name of fourth project in case the collaboration involves four''; <code>project</code> through <code>project3</code> have to be specified also. | ||
| + | :Note: Actual project order in the rendered template will be <code>project</code>, <code>project3</code>, <code>project4</code>, and <code>project2</code>. | ||
===Example=== | ===Example=== | ||
| − | *< | + | *<code><nowiki>{{CotM|year=2010|month=4|project=Venezuela|project2=Films|board=Wikipedia:Venezuela-related regional notice board}}</nowiki></code> |
produces | produces | ||
{{CotM|year=2010|month=4|project=Venezuela|project2=Film|board=Wikipedia:Venezuela-related regional notice board}} | {{CotM|year=2010|month=4|project=Venezuela|project2=Film|board=Wikipedia:Venezuela-related regional notice board}} | ||
===Category=== | ===Category=== | ||
| − | Current | + | Current collaborations appear in [[:Category:Wikipedia current Collaborations of the Month]]. |
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | <!-- CATEGORIES | + | <!-- CATEGORIES HERE, THANKS --> |
| − | [[Category:Wikipedia Collaboration templates | + | {{DEFAULTSORT:Cotm}} |
| − | [[Category: | + | [[Category:Wikipedia Collaboration templates]] |
| − | </includeonly> | + | [[Category:Generic WikiProject templates]] |
| + | }}</includeonly> | ||
Latest revision as of 16:24, 24 April 2020
| This is a documentation subpage for Template:CotM. It contains usage information, categories and other content that is not part of the original template page. |
Usage
To use, add {{CotM|year=YY|month=MM|project=project name|project2=second project name}} to an article talk page, generally above existing project banners when the collaboration is current, and after them when it is not. This template may be placed inside {{|tlx|WikiProjectBannerShell}}, when present, if the top of the talk page is cluttered, and should be, at the bottom, when the collaboration has ended.
Required parameters
|year=four digits, e.g. 2010|month=must be numeric, with or without a leading zero, e.g. April = 4, November = 11|project=name of project (minus "Wikipedia:WikiProject "), e.g. Wikipedia:WikiProject Venezuela = Venezuela|project2=name of second project in the collaboration
Optional parameters
|board=page where the collaboration is discussed|project3=name of third project in case the collaboration involves three;projectandproject2have to be specified also.|project4=name of fourth project in case the collaboration involves four;projectthroughproject3have to be specified also.
- Note: Actual project order in the rendered template will be
project,project3,project4, andproject2.
Example
{{CotM|year=2010|month=4|project=Venezuela|project2=Films|board=Wikipedia:Venezuela-related regional notice board}}
produces
| This was a Collaboration of the Month of WikiProject Venezuela and WikiProject Film, for April 2010. Please help to improve it to match the quality of an ideal Wikipedia article. |
Category
Current collaborations appear in Category:Wikipedia current Collaborations of the Month.