Difference between revisions of "Template:FIS alpine skier"
imported>MusikBot II m (Protected "Template:FIS alpine skier": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
imported>Zyxw (update tracking) |
||
| Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2772}} | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2772}} | ||
| − | | [https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2772}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the [[International Ski Federation]]<includeonly>{{EditAtWikidata|pid=P2772|{{{1|{{{id|}}}}}}}}</includeonly> | + | | [https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2772}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the [[International Ski Federation]]<includeonly>{{EditAtWikidata|pid=P2772|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P2772|value={{{1|{{{id|}}}}}}|category=FIS alpine skier template with ID|namespaces=0|nocatsame=1}} |
| − | | <span class="error">{{[[Template:FIS alpine skier|FIS alpine skier]]}} template missing ID and not present in Wikidata.</span> | + | | <span class="error">{{[[Template:FIS alpine skier|FIS alpine skier]]}} template missing ID and not present in Wikidata.</span>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:FIS alpine skier template missing ID and not in Wikidata]]}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}}<noinclude> | }}<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 00:06, 2 August 2020
{{{name}}} at the International Ski FederationTemplate:WikidataCheck
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
Template:FIS alpine skier displays an external link to an alpine 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.
Contents
Usage
Unnamed parameters:
{{FIS alpine skier | ID }}{{FIS alpine skier | ID | NAME }}
Named parameters:
{{FIS alpine skier | id= ID }}{{FIS alpine skier | id= ID | name= NAME }}
Using Wikidata property Template:Property:
{{FIS alpine skier}}{{FIS alpine skier | name= NAME }}
Examples
Unnamed parameters
Usage:
* {{FIS alpine skier | 30 | Kjetil André Aamodt }}
Output:
- Kjetil André Aamodt at the International Ski FederationScript error: No such module "EditAtWikidata".Template:WikidataCheck
Current URLs:
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid=30
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&fiscode=420382
Former URLs:
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&competitorid=30
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&fiscode=420382
Named parameters
Usage:
* {{FIS alpine skier |id= 32044 |name= Janica Kostelić }}
Output:
- Janica Kostelić at the International Ski FederationScript error: No such module "EditAtWikidata".Template:WikidataCheck
Current URLs:
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid=32044
- https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&fiscode=385022
Former URLs:
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&competitorid=32044
- https://data.fis-ski.com/dynamic/athlete-biography.html?sectorcode=AL&fiscode=385022
No parameters and Wikidata property not defined
Usage:
* {{FIS alpine skier}}
Output:
- Template:PAGENAMEBASE at the International Ski FederationScript error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for FIS alpine skier
This template displays an external link to an alpine 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 30 is the ID portion of https://www.fis-ski.com/DB/general/athlete-biography.html?sectorcode=AL&competitorid=30. This parameter is optional if Wikidata property P2772 exists, but required if not.
| Number | optional |
| Name | name 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 "(alpine skier)".
| String | optional |
Tracking categories
- ID parameter exists
- Category:FIS alpine skier template with ID different from Wikidata (0)
- Category:FIS alpine skier template with ID not in Wikidata (0)
- ID parameter does not exist
See also
Other FIS templates using Wikidata:
- {{FIS cross-country skier}}
- {{FIS freestyle skier}}
- {{FIS Nordic combined skier}}
- {{FIS ski jumper}}
- {{FIS snowboarder}}
External links
| The above documentation is transcluded from Template:FIS alpine skier/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |