Jump to content

Template:FIL/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 23:50, 25 April 2019 (update links, misc formatting). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

Usage

Unnamed parameters:

{{FIL | ID }}
{{FIL | ID | NAME }}

Named parameters:

{{FIL | id= ID }}
{{FIL | id= ID | name= NAME }}

Using Wikidata property FIL athlete ID (P2990):

{{FIL}}
{{FIL | name= NAME }}

Examples

Unnamed parameters

URL:

http://www.fil-luge.org/en/athletes/veronika-halder

Usage:

* {{FIL | veronika-halder | Veronika Halder }}

Output:

Named parameters

URL:

http://www.fil-luge.org/en/athletes/gerhard-plankensteiner

Usage:

* {{FIL |id= gerhard-plankensteiner |name= Gerhard Plankensteiner }}

Output:

No parameters and Wikidata property not defined

Usage:

* {{FIL}}

Output:

  • {{FIL}} template missing ID and not present in Wikidata.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:FIL in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P2990
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist