Template:FIS alpine skier/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata Template:Tracks Wikidata

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 Federation (FIS: Fédération Internationale de Ski). 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. The template is intended for use in the external links section of an article.

Usage

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 Template:Property:

{{FIS alpine skier}}
{{FIS alpine skier | name= NAME }}

Examples

Unnamed parameters

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

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

Usage:

* {{FIS alpine skier}}

Output:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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 Federation (FIS: Fédération Internationale de Ski). 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. The template is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 30 is the ID portion of 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.

Default
Wikidata property P2772
Numberoptional
Namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist

See also

Other FIS templates using Wikidata:

External links