Template:FIS freestyle skier/doc
This is a documentation subpage for Template:FIS freestyle skier. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:FIS freestyle skier displays an external link to a freestyle skier's profile at FIS-ski.com, the official website of the International Ski and Snowboard Federation, also known as FIS (French: Fédération Internationale de Ski et de Snowboard). The template is intended for use in the external links section of an article.
FIS is the international governing body for the Olympic disciplines of Cross-Country Skiing, Ski Jumping, Nordic Combined, Alpine Skiing, Freestyle Skiing, and Snowboarding. It also includes the non-Olympic disciplines of Speed Skiing, Grass Skiing, and Telemark Skiing.
Usage
[edit]Unnamed parameters:
{{FIS freestyle skier | ID }}
{{FIS freestyle skier | ID | NAME }}
Named parameters:
{{FIS freestyle skier | id= ID }}
{{FIS freestyle skier | id= ID | name= NAME }}
Using Wikidata property FIS freestyle skier ID (P2774):
{{FIS freestyle skier}}
{{FIS freestyle skier | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]Usage:
* {{FIS freestyle skier | 62119 | Kari Traa }}
Output:
Current URLs:
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=FS&competitorid=62119
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=FS&fiscode=2040616
Former URLs:
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=FS&competitorid=62119
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=FS&fiscode=2040616
Named parameters
[edit]Usage:
* {{FIS freestyle skier |id= 93218 |name= Alex Bilodeau }}
Output:
Current URLs:
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=FS&competitorid=93218
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=FS&fiscode=2426100
Former URLs:
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=FS&competitorid=93218
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=FS&fiscode=2426100
No parameters and Wikidata property not defined
[edit]Usage:
* {{FIS freestyle skier}}
Output:
- {{FIS freestyle skier}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for FIS freestyle skier
This template displays an external link to a freestyle skier's profile at FIS-ski.com, the official website of the International Ski and Snowboard Federation (FIS: Fédération Internationale de Ski et de Snowboard). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL, such as 62119 in https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=FS&competitorid=62119. This parameter is optional if Wikidata property P2774 exists, but required if not.
| Number | optional |
Name | name 2 | The link text, which should be the name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(skier)" or "(freestyle skier)".
| String | optional |
Tracking categories
[edit]- ID parameter exists
- Category:FIS freestyle skier template with ID different from Wikidata (2)
- Category:FIS freestyle skier template with ID not in Wikidata (3)
- ID parameter does not exist
See also
[edit]Other FIS templates using Wikidata:
- {{FIS alpine skier}} – FIS alpine skier ID (P2772)
- {{FIS cross-country skier}} – FIS cross-country skier ID (P2773)
- {{FIS ski jumper}} – FIS ski jumper ID (P2775)
- {{FIS Nordic combined skier}} – FIS Nordic combined skier ID (P2776)
- {{FIS snowboarder}} – FIS snowboarder ID (P2777)
External links
[edit]