Jump to content

Template:WMCC/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Template creates a link to article about World Men's Curling Championship.

A blank template, for easy copy-and-paste:

{{WMCC}}
{{WMCC||}
{{WMCC||any text}}
{{WMCC|2015}}
{{WMCC|2016|2016 Basel}}

The parameters include (all not required):

  • year: for example "2015"; must be greater than 1958; if not exist - there is a link to main article "World Men's Curling Championships";
  • any text: for example "next year men's Worlds"; if not exist - it displays a year, if year not exist too - it displays a string "World Men's Curling Championship".

Examples

[edit]
  • {{WMCC}} — result: World Men's Curling Championship
  • {{WMCC||coool World men's curling championship}} — result: coool World men's curling championship
  • {{WMCC|2015}} — result: 2015
  • {{WMCC|1990}} — result: 1990
  • {{WMCC|1975|Perth 1975}} — result: Perth 1975 (it can works bad for any years - because for this year there's not exist yet redirect page with simple "_year_ World Men's..." title; if you can and want - add such redirect page or expand template functionality)
  • {{WMCC|2016|Basel 2016}} — result: Basel 2016 (as previous example - for 2016)
  • {{WMCC|1955}} — result: [[1955 ?? year must be >= 1959 World Men's Curling Championship|1955]]

See also

[edit]

Test page (for "zero edition" only, on user subpage): User:Алексей Густов/Test for "WMCC" template