User:Алексей Густов/Template:STOH/doc
Appearance
This is a documentation subpage for User:Алексей Густов/Template:STOH. 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 Women's Curling Championship (any of Scotties Tournament of Hearts or simply "STOH"). It automatically compiles correct link for different STOH names (in different years).
A blank template, for easy copy-and-paste:
{{STOH}} {{STOH||} {{STOH||any text}} {{STOH|2015}} {{STOH|2015|2015 Moose Jaw}}
The parameters include (all not required):
- year: for example "2015"; must be greater than 1960; if not exist - there is a link to main article "Scotties Tournament of Hearts";
- any text: for example "next year Scoitties"; if not exist - it displays a year, if year not exist too - it displays a string "Scotties Tournament of Hearts".
Examples
[edit]- {{STOH}} — result: Scotties Tournament of Hearts
- {{STOH||beauty Canadian women's curling championship}} — result: beauty Canadian women's curling championship
- {{STOH|2015}} — result: 2015
- {{STOH|1990}} — result: 1990
- {{STOH|1977|1977 Halifax}} — result: 1977 Halifax
- {{STOH|1935}} — result: [[1935 ?? year must be > 1960 ! |1935]]
See also
[edit]- Тemplate Brier — similar, for articles about Tim Hortons Brier
Test page (for "zero edition" only, on user subpage): User:Алексей Густов/Test for "STOH" template