Jump to content

Template:UIPM/doc

From Wikipedia, the free encyclopedia

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]
URL
https://www.uipmworld.org/athlete/laura-asadauskaite
Usage
* {{UIPM | laura-asadauskaite | Laura Asadauskaitė }}
Output

Named parameters

[edit]
URL
https://www.uipmworld.org/athlete/david-svoboda
Usage
* {{UIPM |id= david-svoboda |name= David Svoboda }}
* {{UIPM |id= david-svoboda |name= David Svoboda |archive= 20161030030009 }}
Output

No parameters and Wikidata property not defined

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

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P2726
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
archivearchive

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.

Numberoptional

Tracking categories

[edit]
[edit]