Difference between revisions of "Template:CotM"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(default link)
imported>SMcCandlish
(default link)
 
Line 7: Line 7:
 
         | {{{month|<noinclude>{{CURRENTMONTH}}</noinclude>}}}  
 
         | {{{month|<noinclude>{{CURRENTMONTH}}</noinclude>}}}  
 
     }}
 
     }}
|is a current ''{{#if:{{{board|}}}|[[{{{board}}}|Collaboration of the Month]]|Collaboration of the Month}}'' of [[Wikipedia:WikiProject {{{project}}}|WikiProject {{{project}}}]]{{#if:{{{project3|}}}, [[Wikipedia:WikiProject {{{project3}}}|WikiProject {{{project3}}}]]|}}{{#if:{{{project4|}}}, [[Wikipedia:WikiProject {{{project4}}}|WikiProject {{{project4}}}]],|}}{{#if:{{{project2|}}}|&nbsp;and [[Wikipedia:WikiProject {{{project2}}}|WikiProject {{{project2}}}]]|}} for {{CURRENTMONTHNAME}} {{CURRENTYEAR}}.<includeonly>[[Category:Wikipedia current Collaborations of the Month]]</includeonly>
+
|is a current ''{{#if:{{{board|}}}|[[{{{board}}}|Collaboration of the Month]]|[[Wikipedia:Article Collaboration and Improvement Drive|Collaboration of the Month]]}}'' of [[Wikipedia:WikiProject {{{project}}}|WikiProject {{{project}}}]]{{#if:{{{project3|}}}, [[Wikipedia:WikiProject {{{project3}}}|WikiProject {{{project3}}}]]|}}{{#if:{{{project4|}}}, [[Wikipedia:WikiProject {{{project4}}}|WikiProject {{{project4}}}]],|}}{{#if:{{{project2|}}}|&nbsp;and [[Wikipedia:WikiProject {{{project2}}}|WikiProject {{{project2}}}]]|}} for {{CURRENTMONTHNAME}} {{CURRENTYEAR}}.<includeonly>[[Category:Wikipedia current Collaborations of the Month]]</includeonly>
 
|was a ''{{#if:{{{board|}}}|[[{{{board}}}|Collaboration of the Month]]|[[Wikipedia:Article Collaboration and Improvement Drive|Collaboration of the Month]]}}'' of [[Wikipedia:WikiProject {{{project}}}|WikiProject {{{project}}}]]{{#if:{{{project3|}}}, [[Wikipedia:WikiProject {{{project3}}}|WikiProject {{{project3}}}]]|}}{{#if:{{{project4|}}}, [[Wikipedia:WikiProject {{{project4}}}|WikiProject {{{project4}}}]],|}}{{#if:{{{project2|}}}|&nbsp;and [[Wikipedia:WikiProject {{{project2}}}|WikiProject {{{project2}}}]]|}}, for {{MONTHNAME|{{{month}}}}} {{{year}}}.
 
|was a ''{{#if:{{{board|}}}|[[{{{board}}}|Collaboration of the Month]]|[[Wikipedia:Article Collaboration and Improvement Drive|Collaboration of the Month]]}}'' of [[Wikipedia:WikiProject {{{project}}}|WikiProject {{{project}}}]]{{#if:{{{project3|}}}, [[Wikipedia:WikiProject {{{project3}}}|WikiProject {{{project3}}}]]|}}{{#if:{{{project4|}}}, [[Wikipedia:WikiProject {{{project4}}}|WikiProject {{{project4}}}]],|}}{{#if:{{{project2|}}}|&nbsp;and [[Wikipedia:WikiProject {{{project2}}}|WikiProject {{{project2}}}]]|}}, for {{MONTHNAME|{{{month}}}}} {{{year}}}.
 
}}'''<br /><small>Please help to improve it to match the quality of an [[Wikipedia:Featured articles|ideal]] Wikipedia article.</small>
 
}}'''<br /><small>Please help to improve it to match the quality of an [[Wikipedia:Featured articles|ideal]] Wikipedia article.</small>

Latest revision as of 09:39, 3 December 2011

Template documentation[view] [edit] [history] [purge]

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; project and project2 have to be specified also.
  • |project4= name of fourth project in case the collaboration involves four; project through project3 have to be specified also.
Note: Actual project order in the rendered template will be project, project3, project4, and project2.

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.