Jump to content

Template:World Curling/doc

From Wikipedia, the free encyclopedia

Template:World Curling displays an external link to a curler's profile at the World Curling results website (results.worldcurling.org). It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
* {{World Curling | ID }}
* {{World Curling | ID | NAME }}
Named parameters
* {{World Curling | id= ID }}
* {{World Curling | id= ID | name= NAME }}
Using Wikidata property
* {{World Curling}}
* {{World Curling | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{World Curling | 834 | Randy Ferbey }}
Output
URL
https://results.worldcurling.org/Person/Details/834

Named parameters

[edit]
Usage
* {{World Curling |id= 1847 |name= Rhona Martin }}
Output
URL
https://results.worldcurling.org/Person/Details/1847

No parameters and Wikidata property not defined

[edit]
Usage
* {{World Curling}}
Output
  • {{World Curling}} 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:World Curling in articles based on its TemplateData.

TemplateData for World Curling

This template displays an external link to a curler's profile at the World Curling results website (results.worldcurling.org). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID number in the URL, such as 834 in https://results.worldcurling.org/Person/Details/834. This parameter is optional if Wikidata property P3557 exists, but required if not.

Default
Wikidata property P3557
Numberoptional
namename 2

The link text, which should be the name of the curler. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(curler)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with ID
template missing ID

See also

[edit]

See also

[edit]