Difference between revisions of "Template:FIS/doc"
(+fi) |
imported>Frietjes |
||
| (20 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | ||
| + | |||
| + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[International Ski Federation]] (''Fédération Internationale de Ski'') web page for a skier. | ||
| + | |||
==Usage== | ==Usage== | ||
| − | |||
| − | + | ===Required fields=== | |
| + | <nowiki>{{</nowiki>FIS|S=''sector''|ID=''competitorid''}} | ||
| + | |||
| + | '''''S=''''' | ||
| + | |||
| + | As specified in portion of URL after ''sector='', such as: | ||
| + | [https://www.fis-ski.com/DB/general/athlete-biography.html?sector=AL&competitorid=125871&type=result https://www.fis-ski.com/DB/general/athlete-biography.html?sector='''''AL'''''&competitorid=125871&type=result] | ||
| + | |||
| + | * AL = [[Alpine skiing|Alpine]] | ||
| + | * CC = [[Cross-country skiing|Cross Country]] | ||
| + | * JP = [[Ski jumping|Jumping]] | ||
| + | * NK = [[Nordic skiing|Nordic]] | ||
| + | * FS = [[Freestyle skiing|Freestyle]] | ||
| + | * SB = [[Snowboarding|Snowboard]] | ||
| + | * SS = [[Speed skiing|Speed Skiing]] | ||
| + | * GS = [[Grass skiing|Grass]] | ||
| + | * TM = [[Telemark skiing|Telemark]] | ||
| + | |||
| + | '''''ID=''''' | ||
| + | |||
| + | As specified in portion of URL after ''competitorid='', such as: | ||
| + | [https://www.fis-ski.com/DB/general/athlete-biography.html?sector=AL&competitorid=125871&type=result https://www.fis-ski.com/DB/general/athlete-biography.html?sector=AL&competitorid='''''125871'''''&type=result] | ||
| − | <nowiki>{{</nowiki>FIS|S=sector|ID=competitorid|name=''competitor name''|note=''note''}} | + | ===Optional fields=== |
| + | <nowiki>{{</nowiki>FIS|S=''sector''|ID=''competitorid''|name=''competitor name''|note=''note''}} | ||
| − | ''' | + | '''''name=''''' |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | If used, replaces the title of the article as the link text. This can be used if the name of the article includes disambiguation [e.g. [[Bill Johnson (skier)]]] or if the name on the FIS website is spelled differently [e.g. [[Bjørn Dæhlie]]]. | |
| − | |||
| − | ''' | + | '''''note=''''' |
| − | |||
| − | + | If used, displays a note after the link. For samples, see [[Birger Ruud]] [as multiple profiles are listed, specifying which one], [[Anfisa Reztsova]] [noting wrong DOB]. | |
| − | |||
| − | == | + | ==Example== |
For [[Lara Gut]], the page is at: | For [[Lara Gut]], the page is at: | ||
| − | [ | + | [https://www.fis-ski.com/DB/general/athlete-biography.html?sector=AL&competitorid=125871&type=result https://www.fis-ski.com/DB/general/athlete-biography.html?sector='''''AL'''''&competitorid='''''125871'''''&type=result] |
This converts to | This converts to | ||
| Line 40: | Line 53: | ||
{{FIS|S=AL|ID=125871|name=Lara Gut}} | {{FIS|S=AL|ID=125871|name=Lara Gut}} | ||
| + | ==Tracking category== | ||
| + | * {{clc|Pages using FIS with missing parameters}} | ||
| + | * {{clc|Pages using FIS with unknown parameters}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | + | <!--Categories below this line, please; interwikis at Wikidata--> | |
| − | [[ | + | [[Category:People and person external link templates]] |
| − | + | [[Category:Sports governing body external link templates]] | |
| − | + | [[Category:Skiing templates]] | |
| − | [[Category: | + | }}</includeonly> |
| − | [[Category: | ||
| − | </includeonly> | ||
Latest revision as of 13:59, 29 July 2020
| This is a documentation subpage for Template:FIS. It contains usage information, categories and other content that is not part of the original template page. |
Template:FIS displays an external link to an International Ski Federation (Fédération Internationale de Ski) web page for a skier.
Usage
Required fields
{{FIS|S=sector|ID=competitorid}}
S=
As specified in portion of URL after sector=, such as:
https://www.fis-ski.com/DB/general/athlete-biography.html?sector=AL&competitorid=125871&type=result
- AL = Alpine
- CC = Cross Country
- JP = Jumping
- NK = Nordic
- FS = Freestyle
- SB = Snowboard
- SS = Speed Skiing
- GS = Grass
- TM = Telemark
ID=
As specified in portion of URL after competitorid=, such as:
https://www.fis-ski.com/DB/general/athlete-biography.html?sector=AL&competitorid=125871&type=result
Optional fields
{{FIS|S=sector|ID=competitorid|name=competitor name|note=note}}
name=
If used, replaces the title of the article as the link text. This can be used if the name of the article includes disambiguation [e.g. Bill Johnson (skier)] or if the name on the FIS website is spelled differently [e.g. Bjørn Dæhlie].
note=
If used, displays a note after the link. For samples, see Birger Ruud [as multiple profiles are listed, specifying which one], Anfisa Reztsova [noting wrong DOB].
Example
For Lara Gut, the page is at:
https://www.fis-ski.com/DB/general/athlete-biography.html?sector=AL&competitorid=125871&type=result
This converts to
{{FIS|S=AL|ID=125871}}
and displays as:
Lara Gut at the International Ski Federation
Tracking category
- Category:Pages using FIS with missing parameters (0)
- Category:Pages using FIS with unknown parameters (0)