Difference between revisions of "Template:CotM/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>SMcCandlish
(overhaul)
Line 4: Line 4:
 
__NOTOC__
 
__NOTOC__
 
== Usage ==
 
== Usage ==
To use, add {{tlx|CotM|year=<year>|month=<month>|project=<project>}} to an article talk page, generally under the existing banner block.
+
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===
*<tt>year=</tt> ''four digits, eg 2010''
+
*{{para|year}} ''four digits, e.g. 2010''
*<tt>month=</tt> ''must be numeric, eg April=4, November=11''
+
*{{para|month}} ''must be numeric, with or without a leading zero, e.g. April = 4, November = 11''
*<tt>project=</tt> ''name of project, eg [[Wikipedia:WikiProject Venezuela]] = Venezuela''
+
*{{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===
*<tt>board=</tt> ''page where the collaboration is discussed''
+
*{{para|board}} ''page where the collaboration is discussed''
*<tt>project2=</tt> ''in case the collaboration involves two WikiProjects''
+
*{{para|project3}} ''name of third project in case the collaboration involves three''
  
 
===Example===
 
===Example===
*<tt><nowiki>{{CotM|year=2010|month=4|project=Venezuela|project2=Films|board=Wikipedia:Venezuela-related regional notice board}}</nowiki></tt>
+
*<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 Collaborations appear in [[:Category:Wikipedia current Collaborations of the Month]].
+
Current collaborations appear in [[:Category:Wikipedia current Collaborations of the Month]].
  
 
<includeonly>
 
<includeonly>

Revision as of 07:40, 3 December 2011


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

Example

  • {{CotM|year=2010|month=4|project=Venezuela|project2=Films|board=Wikipedia:Venezuela-related regional notice board}}

produces

Category

Current collaborations appear in Category:Wikipedia current Collaborations of the Month.