Jump to content

Template:World Games profile/doc

From Wikipedia, the free encyclopedia

Template:World Games profile displays an external link to a sportperson's profile at TheWorldGames.org, the official website of the World Games. It is intended for use in the external links section of an article.

Usage

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

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{World Games profile | 8644 | Alexandra Recchia }}
Output
URLs
https://www.theworldgames.org/results#athlete=:8644
https://www.theworldgames.org/results#athlete=Alexandra%20RECCHIA:8644

Named parameters

[edit]
Usage
* {{World Games profile | id= 8874 | name= Simon Rösner }}
Output
URLs
https://www.theworldgames.org/results#athlete=:8874
https://www.theworldgames.org/results#athlete=Simon%20ROSNER:8874

No parameters and Wikidata property not defined

[edit]
Usage
{{World Games profile}}
Output
{{World Games profile}} 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 Games profile in articles based on its TemplateData.

TemplateData for World Games profile

This template displays an external link to a sportperson's profile at TheWorldGames.org, the official website of the World Games. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number the URL, such as 8644 in https://www.theworldgames.org/results#athlete=Alexandra%20RECCHIA:8644. This parameter is optional if Wikidata property P4588 exists, but required if not.

Default
Wikidata property P4588
Numberoptional
Namename 2

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

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]
[edit]