Difference between revisions of "Template:FIS"

From blackwiki
Jump to navigation Jump to search
imported>Flénu
imported>Frietjes
Line 1: Line 1:
−
[https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode={{{s<includeonly>|{{{S}}}</includeonly>}}}&competitorid={{{id<includeonly>|{{{ID}}}</includeonly>}}}&type=result {{#if:{{{name<includeonly>|</includeonly>}}}|{{{name}}}|{{PAGENAMEBASE}}}}] at the [[International Ski Federation]]{{#if:{{{note|}}}|. {{{note}}}}}<noinclude>
+
[https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode={{{s<includeonly>|{{{S}}}</includeonly>}}}&competitorid={{{id<includeonly>|{{{ID}}}</includeonly>}}}&type=result {{#if:{{{name<includeonly>|</includeonly>}}}|{{{name}}}|{{PAGENAMEBASE}}}}] at the [[International Ski Federation]]{{#if:{{{note|}}}|. {{{note}}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using FIS with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:FIS]] with unknown parameter "_VALUE_"|ignoreblank=y| ID | id | name | note | S | s }}<noinclude>
−
{{Documentation}}
+
{{documentation}}
 
<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
 
<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
 
</noinclude>
 
</noinclude>

Revision as of 13:47, 29 July 2020

{{{name}}} at the International Ski Federation

Template documentation[view] [edit] [history] [purge]

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

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