Jump to content

Template:2015 Pan American Games profile/doc

From Wikipedia, the free encyclopedia

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

Usage

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

Examples

[edit]

Unnamed parameters

[edit]
Usage in David Carter (field hockey)
* {{2015 Pan American Games profile | field-hockey/athlete-profile-n10179555-carter-david }}
* {{2015 Pan American Games profile | field-hockey/athlete-profile-n10179555-carter-david | archive = 20160304121937 }}
Output
URLs
https://web.archive.org/web/1/http://results.toronto2015.org/IRS/en/field-hockey/athlete-profile-n10179555-carter-david.htm
https://web.archive.org/web/20160304121937/http://results.toronto2015.org/IRS/en/field-hockey/athlete-profile-n10179555-carter-david.htm

Named parameters

[edit]
Usage in Marlen Esparza
* {{2015 Pan American Games profile | id= boxing/athlete-profile-n10156260-esparza-marlen }}
* {{2015 Pan American Games profile | id= boxing/athlete-profile-n10156260-esparza-marlen | archive= 20170703225447 }}
Output
URLs
https://web.archive.org/web/1/http://results.toronto2015.org/IRS/en/boxing/athlete-profile-n10156260-esparza-marlen.htm
https://web.archive.org/web/20170703225447/http://results.toronto2015.org/IRS/en/boxing/athlete-profile-n10156260-esparza-marlen.htm

No parameters and Wikidata property not defined

[edit]
Usage
* {{2015 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:2015 Pan American Games profile in articles based on its TemplateData.

TemplateData for 2015 Pan American Games profile

This template displays an external link to an athlete's archived profile from the official results website of the 2015 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 boxing/athlete-profile-n10156260-esparza-marlen in http://results.toronto2015.org/IRS/en/boxing/athlete-profile-n10156260-esparza-marlen.htm.

Example
boxing/athlete-profile-n10156260-esparza-marlen
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
Marlen Esparza
Stringoptional
Internet Archive date/timearchive

A number indicating the date and time of an archive at the Internet Archive website, such as 20170703225447 in https://web.archive.org/web/20170703225447/http://results.toronto2015.org/IRS/en/boxing/athlete-profile-n10156260-esparza-marlen.htm (2017-07-03 22:54:47 archive of http://results.toronto2015.org/IRS/en/boxing/athlete-profile-n10156260-esparza-marlen.htm).

Default
1 (first archive)
Example
20170703225447
Numberoptional

See also

[edit]
[edit]