Template:UIPM/doc
This is a documentation subpage for Template:UIPM. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:UIPM displays an external link to a modern pentathlon athlete's profile at UIPMworld.org, the official website of the International Modern Pentathlon Union (UIPM: Union Internationale de Pentathlon Moderne). It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
* {{UIPM | ID }}
* {{UIPM | ID | NAME }}
- Named parameters
* {{UIPM | id= ID }}
* {{UIPM | id= ID | name= NAME }}
* {{UIPM | id= ID | archive= NUMBER }}
* {{UIPM | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property
* {{UIPM}}
* {{UIPM | name= NAME }}
* {{UIPM | archive= NUMBER }}
* {{UIPM | name= NAME | archive= NUMBER }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{UIPM | laura-asadauskaite | Laura Asadauskaitė }}
- Output
Named parameters
[edit]- Usage
* {{UIPM |id= david-svoboda |name= David Svoboda }}
* {{UIPM |id= david-svoboda |name= David Svoboda |archive= 20161030030009 }}
- Output
-
- David Svoboda at UIPM
- David Svoboda at UIPM (archive)
No parameters and Wikidata property not defined
[edit]- Usage
* {{UIPM}}
- Output
-
- {{UIPM}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for UIPM
This template displays an external link to a modern pentathlon athlete's profile at UIPMworld.org, the official website of the International Modern Pentathlon Union (UIPM: Union Internationale de Pentathlon Moderne). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID portion of the URL, such as laura-asadauskaite in https://www.uipmworld.org/athlete/laura-asadauskaite. This parameter is optional if Wikidata property P2726 exists, but required if not.
| String | optional |
name | name 2 | The link text, which should be the name of the pentathlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(pentathlete)".
| String | optional |
archive | archive | A number indicating the date and time of an archive at the Internet Archive website, such as 20161030030009 in https://web.archive.org/web/20161030030009/https://www.uipmworld.org/athlete/david-svoboda, which is an archive of https://www.uipmworld.org/athlete/david-svoboda as of 2016-10-30 at 03:00:09. | Number | optional |
Tracking categories
[edit]- Category:UIPM template with ID different from Wikidata (0)
- Category:UIPM template with ID not in Wikidata (0)
- Category:UIPM template missing ID and not in Wikidata (0)
- Category:UIPM template with archive (20)
External link
[edit]