Template:FIS alpine skier/doc
This is a documentation subpage for Template:FIS alpine 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 alpine skier displays an external link to an alpine 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 alpine skier | ID }}
{{FIS alpine skier | ID | NAME }}
Named parameters:
{{FIS alpine skier | id= ID }}
{{FIS alpine skier | id= ID | name= NAME }}
Using Wikidata property FIS alpine skier ID (P2772):
{{FIS alpine skier}}
{{FIS alpine skier | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]Usage:
* {{FIS alpine skier | 30 | Kjetil André Aamodt }}
Output:
Current URLs:
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid=30
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&fiscode=420382
Former URLs:
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&competitorid=30
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&fiscode=420382
Named parameters
[edit]Usage:
* {{FIS alpine skier |id= 32044 |name= Janica Kostelić }}
Output:
Current URLs:
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid=32044
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&fiscode=385022
Former URLs:
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&competitorid=32044
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&fiscode=385022
No parameters and Wikidata property not defined
[edit]Usage:
* {{FIS alpine skier}}
Output:
- {{FIS alpine skier}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for FIS alpine skier
This template displays an external link to an alpine 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 30 in https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid=30. This parameter is optional if Wikidata property P2772 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 "(alpine skier)".
| String | optional |
Tracking categories
[edit]- ID parameter exists
- Category:FIS alpine skier template with ID different from Wikidata (1)
- Category:FIS alpine skier template with ID not in Wikidata (0)
- ID parameter does not exist
See also
[edit]Other FIS templates using Wikidata:
- {{FIS cross-country skier}} – FIS cross-country skier ID (P2773)
- {{FIS freestyle skier}} – FIS freestyle skier ID (P2774)
- {{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]