Template:FIS cross-country skier/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata Template:Tracks Wikidata

Template:FIS cross-country skier displays an external link to a cross-country 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 cross-country skier | ID }}
{{FIS cross-country skier | ID | NAME }}

Named parameters:

{{FIS cross-country skier | id= ID }}
{{FIS cross-country skier | id= ID | name= NAME }}

Using Wikidata property Template:Property:

{{FIS cross-country skier}}
{{FIS cross-country skier | name= NAME }}

Examples

Unnamed parameters

Usage:

* {{FIS cross-country skier | 5223 | Marit Bjoergen }}

Output:

Current URLs:

https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=CC&competitorid=5223
https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=CC&fiscode=1303777

Former URLs:

https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=CC&competitorid=5223
https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=CC&fiscode=1303777

Named parameters

Usage:

* {{FIS cross-country skier |id= 12150 |name= Bjoern Daehlie }}

Output:

Current URLs:

https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=CC&competitorid=12150
https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=CC&fiscode=1006181

Former URLs:

https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=CC&competitorid=12150
https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=CC&fiscode=1006181

No parameters and Wikidata property not defined

Usage:

* {{FIS cross-country 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 cross-country skier

This template displays an external link to a cross-country 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: 5223 is the ID portion of https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=CC&competitorid=5223. This parameter is optional if Wikidata property P2773 exists, but required if not.

Default
Wikidata property P2773
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 "(cross-country skier)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist

See also

Other FIS templates using Wikidata:

External links