- Template:Winter Olympics article name of sport from term for players
- Template:Winter Olympics category name of sport from term for players
These two templates are helpers for use by Template:Fooers at the YYYY Winter Olympics category, which uses them to build navigation boxes, parent categories and see-also links for categories such as Category:Bobsledders at the 2002 Winter Olympics.
The term for the players of the sport is extracted the start of the title, but for some purposes the template needs the title of the article on the sport. Template:Winter Olympics article name of sport from term for players does the conversion.
For example:
{{Winter Olympics article name of sport from term for players|Bobsledders}}
→bobsleigh
{{Winter Olympics article name of sport from term for players|Nordic combined skiers}}
→Nordic combined
{{Winter Olympics article name of sport from term for players|Ski jumpers}}
→ski jumping
{{Winter Olympics article name of sport from term for players|Skeleton racers}}
→skeleton (sport)
In most cases, that result is the term used in category names. However, in some cases, these differ, so Template:Winter Olympics category name of sport from term for players is used for category names. In the exceptional cases where the category name differs from the article name, it returns the category name; but in all other cases it defaults to the article name.
Examples of Template:Winter Olympics category name of sport from term for players:
{{Winter Olympics category name of sport from term for players|Bobsledders}}
→bobsleigh
{{Winter Olympics category name of sport from term for players|Nordic combined skiers}}
→Nordic combined
{{Winter Olympics category name of sport from term for players|Ski jumpers}}
→ski jumping
{{Winter Olympics category name of sport from term for players|Skeleton racers}}
→skeleton