User:Алексей Густов/Template:Brier/doc
Appearance
This is a documentation subpage for User:Алексей Густов/Template:Brier. It may contain usage information, categories and other content that is not part of the original user template page. |
Usage
[edit]Template creates a link to article about Canadian Men's Curling Championship (any of Tim Hortons Brier or simply "Brier"). It automatically compiles correct link for different Brier names (in different years).
A blank template, for easy copy-and-paste:
{{Brier}} {{Brier||} {{Brier||any text}} {{Brier|2015}} {{Brier|2015|2015 Calgary}}
The parameters include (all not required):
- year: for example "2015"; must be greater than 1926; if not exist - there is a link to main article "Tim Hortons Brier";
- any text: for example "next year Brier"; if not exist - it displays a year, if year not exist too - it displays a string "Tim Hortons Brier".
Examples
[edit]- {{Brier}} — result: Tim Hortons Brier
- {{Brier||coool Canadian men's curling championship}} — result: coool Canadian men's curling championship
- {{Brier|2015}} — result: 2015
- {{Brier|1990}} — result: 1990
- {{Brier|1975|Fredericton 1975}} — result: Fredericton 1975
- {{Brier|1915}} — result: [[1915 ?? year must be > 1926 Brier|1915]]
See also
[edit]- Тemplate STOH — similar, for articles about Scotties Tournament of Hearts
Test page (for "zero edition" only, on user subpage): User:Алексей Густов/Test for "Brier" template