Jump to content

Template:EuCC/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Template creates a link to article about European Curling Championships.

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

{{EuCC}}
{{EuCC||}
{{EuCC||any text}}
{{EuCC|2014}}
{{EuCC|2015|2015 Esbjerg}}

The parameters include (all not required):

  • year: for example "2015"; must be greater than 1974; if not exist - there is a link to main article "European 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 "European Curling Championships".

Examples

[edit]
  • {{EuCC}} — result: European Curling Championship
  • {{EuCC||coool Euro curling championship}} — result: coool Euro curling championship
  • {{EuCC|2015}} — result: 2015
  • {{EuCC|1990}} — result: 1990
  • {{EuCC|1998|1998 Flims}} — result: 1998 Flims (it can works bad for any years - because for this year there's not exist yet redirect page with simple "_year_ European Curling Championships" title; if you can and want - add such redirect page or expand template functionality)
  • {{EuCC|2015|2015 Esbjerg}} — result: 2015 Esbjerg (as previous example - for 2015)
  • {{EuCC|1965}} — result: [[1965 ?? year must be > 1974 European Curling Championships|1965]]

See also

[edit]

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