Template:FIS freestyle skier/doc

From blackwiki
< Template:FIS freestyle skier
Revision as of 00:17, 2 August 2020 by imported>Zyxw (→‎Tracking categories: update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Uses Wikidata Template:Tracks Wikidata

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

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

Examples

Unnamed parameters

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

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

Usage:

* {{FIS freestyle 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 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 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: 62119 is the ID portion of 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.

Default
Wikidata property P2774
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 "(freestyle skier)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist

See also

Other FIS templates using Wikidata:

External links