Difference between revisions of "Template:FIS"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
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}}}}}{{#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>
+
[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}}}}}<includeonly>{{#ifeq:{{{s|{{{S|A}}}}}}|{{{s|{{{S|B}}}}}}||<span style="color:red">Error: [[Template:FIS]] missing {{para|S}}</span>{{main other|[[Category:Pages using FIS with missing parameters|S{{PAGENAME}}]]}}}}{{#ifeq:{{{id|{{{ID|A}}}}}}|{{{id|{{{ID|B}}}}}}||<span style="color:red">Error: [[Template:FIS]] missing {{para|ID}}</span>{{main other|[[Category:Pages using FIS with missing parameters|ID{{PAGENAME}}]]}}}}</includeonly>{{#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>

Latest revision as of 13:57, 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