Template:ICF/doc

From Wikipedia, the free encyclopedia

Template:ICF displays an external link to an athlete's profile at CanoeICF.org, the official website of the International Canoe Federation (ICF). It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters:

{{ICF | ID }}
{{ICF | ID | NAME }}

Named parameters:

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

Using Wikidata property P3689:

{{ICF}}
{{ICF | name= NAME }}

Examples[edit]

Unnamed parameters[edit]

URL:

https://www.canoeicf.com/athlete/jessica-fox

Usage:

{{ICF | jessica-fox | Jessica Fox }}

Output:

Jessica Fox at the International Canoe Federation

Named parameters[edit]

URL:

https://www.canoeicf.com/athlete/igor-alex-tofalini

Usage:

{{ICF | id= igor-alex-tofalini | name= Igor Alex Tofalini }}

Output:

Igor Alex Tofalini at the International Canoe Federation

No parameters and Wikidata property not defined[edit]

Usage:

{{ICF}}

Output:

{{ICF}} template missing ID and not present in Wikidata.

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ICF in articles based on its TemplateData.

TemplateData for ICF

This template displays an external link to an athlete's profile at CanoeICF.org, the official website of the International Canoe Federation (ICF). 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: jessica-fox is the ID portion of https://www.canoeicf.com/athlete/jessica-fox. This parameter is optional if Wikidata property P3689 exists, but required if not.

Default
Wikidata property P3689
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 "(canoeist)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[edit]

ID parameter exists
ID parameter does not exist

External links[edit]