Jump to content

Template:2019 Pan American Games profile/doc

From Wikipedia, the free encyclopedia

Template:2019 Pan American Games profile displays an external link to an athlete's profile at the official results website of the 2019 Pan American Games. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{2019 Pan American Games profile | ID }}
{{2019 Pan American Games profile | ID | NAME }}
Named parameters
{{2019 Pan American Games profile | id= ID }}
{{2019 Pan American Games profile | id= ID | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{2019 Pan American Games profile | karate/athlete-profile-n1116349-maldonado-allan | Allan Maldonado }}
Output
Current URL
https://www.lima2019.pe/sites/default/files/wrsd/PAG2019/en/results/karate/athlete-profile-n1116349-maldonado-allan.htm
Former URL
https://wrsd.lima2019.pe/panam/en/results/karate/athlete-profile-n1116349-maldonado-allan.htm (archive 2023-07-25)

Named parameters

[edit]
Usage
* {{2019 Pan American Games profile | id= judo/athlete-profile-n1144831-aguiar-mayra | name= Mayra Aguiar }}
Output
Current URL
https://www.lima2019.pe/sites/default/files/wrsd/PAG2019/en/results/judo/athlete-profile-n1144831-aguiar-mayra.htm
Former URL
https://wrsd.lima2019.pe/panam/en/results/judo/athlete-profile-n1144831-aguiar-mayra.htm (archive 2023-05-18)

No parameters and Wikidata property not defined

[edit]
Usage
* {{2019 Pan American Games profile}}
Output

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:2019 Pan American Games profile in articles based on its TemplateData.

TemplateData for 2019 Pan American Games profile

This template displays an external link to an athlete's profile at the official results website of the 2019 Pan American Games. 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 judo/athlete-profile-n1144831-aguiar-mayra in https://www.lima2019.pe/sites/default/files/wrsd/PAG2019/en/results/judo/athlete-profile-n1144831-aguiar-mayra.htm.

Example
judo/athlete-profile-n1144831-aguiar-mayra
Stringrequired
Namename 2

The link text for the profile associated with "id" parameter. It defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Example
Mayra Aguiar
Stringoptional

See also

[edit]
[edit]