Difference between revisions of "Template:FIL"
imported>Zyxw (update tracking categories) |
imported>Zyxw m (update tracking) |
||
| Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2990}} | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2990}} | ||
| − | | [http://www.fil-luge.org/en/athletes/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2990}}|sep=,}} }}#content {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the [[International Luge Federation]]<includeonly>{{EditAtWikidata|pid=P2990|{{{1|{{{id|}}}}}}}}</includeonly> {{#if: {{{archive|}}} | ([https://web.archive.org/web/{{{archive}}}/http://www.fil-luge.org/en/athletes/{{#if: {{{1|{{{id|}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2990}}|sep=,}} }}#content archive]) }} | + | | [http://www.fil-luge.org/en/athletes/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2990}}|sep=,}} }}#content {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the [[International Luge Federation]]<includeonly>{{EditAtWikidata|pid=P2990|{{{1|{{{id|}}}}}}}}</includeonly> {{#if: {{{archive|}}} | ([https://web.archive.org/web/{{{archive}}}/http://www.fil-luge.org/en/athletes/{{#if: {{{1|{{{id|}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2990}}|sep=,}} }}#content archive]) }}{{WikidataCheck|property=P2990|value={{{1|{{{id|}}}}}}|category=FIL template with ID|namespaces=0|nocatsame=1}} |
| − | | <span class="error">{{[[Template:FIL|FIL]]}} template missing ID and not present in Wikidata.</span> | + | | <span class="error">{{[[Template:FIL|FIL]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:FIL 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 06:54, 6 May 2019
{{{name}}} at the International Luge Federation Template: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:FIL displays an external link to a luge athlete's profile at www.FIL-Luge.org, the official website of the International Luge Federation (FIL: Fédération Internationale de Luge de Course). It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
{{FIL | ID }}{{FIL | ID | NAME }}
Named parameters:
{{FIL | id= ID }}{{FIL | id= ID | name= NAME }}
Using Wikidata property Template:Property:
{{FIL}}{{FIL | name= NAME }}
Examples
Unnamed parameters
URL:
Usage:
* {{FIL | veronika-halder | Veronika Halder }}
Output:
- Veronika Halder at the International Luge FederationScript error: No such module "EditAtWikidata". Template:WikidataCheck
Named parameters
URL:
Usage:
* {{FIL |id= gerhard-plankensteiner |name= Gerhard Plankensteiner }}
Output:
- Gerhard Plankensteiner at the International Luge FederationScript error: No such module "EditAtWikidata". Template:WikidataCheck
No parameters and Wikidata property not defined
Usage:
* {{FIL}}
Output:
- Template:PAGENAMEBASE at the International Luge FederationScript error: No such module "EditAtWikidata". Template:WikidataCheck
TemplateData
TemplateData for FIL
This template displays an external link to a luge athlete's profile at www.FIL-Luge.org, the official website of the International Luge Federation (FIL: Fédération Internationale de Luge de Course). It 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: veronika-halder is the ID portion of http://www.fil-luge.org/en/athletes/veronika-halder. This parameter is optional if Wikidata property P2990 exists, but required if not.
| String | optional |
| name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(luger)".
| String | optional |
Tracking categories
- template with ID
- Category:FIL template with ID different from Wikidata (0)
- Category:FIL template with ID not in Wikidata (0)
- template missing ID
External links
| The above documentation is transcluded from Template:FIL/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. |
- Pages with script errors
- Pages with broken file links
- Templates using TemplateData
- Luge templates
- People and person external link templates
- Sports governing body external link templates
- Templates that add a tracking category
- External link templates using Wikidata
- External link templates with archive parameter