Difference between revisions of "Template:FIS/sandbox"
imported>Zyxw (copy of current template) |
imported>Zyxw (allow for lowercase parameters, remove disambiguation if {{PAGENAME}} is used) |
||
| Line 1: | Line 1: | ||
| − | [http://data.fis-ski.com/dynamic/athlete-biography.html<includeonly> | + | [http://data.fis-ski.com/dynamic/athlete-biography.html?sector={{{s<includeonly>|{{{S}}}</includeonly>}}}&competitorid={{{id<includeonly>|{{{ID}}}</includeonly>}}}&type=result {{#if:{{{name<includeonly>|</includeonly>}}}|{{{name}}}|{{Title without disambig|{{PAGENAME}}}}}}] at the [[International Ski Federation]]{{#if:{{{note|}}}|. {{{note}}}}}<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:57, 11 August 2014
{{{name}}} at the International Ski Federation
| This is the template sandbox page for Template:FIS (diff). See also the companion subpage for test cases. |
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)
| The above documentation is transcluded from Template:FIS/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |