Template:World Games profile/doc
This is a documentation subpage for Template:World Games profile. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
-
- Alexandra Recchia at the World Games
- 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
-
- Simon Rösner at the World Games
- 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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| Number | optional |
Name | name 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)".
| String | optional |
See also
[edit]- {{Olympics.com profile}}
- {{CGF profile}}
External links
[edit]