Jump to content

Template:2014 Asian Games profile/doc

From Wikipedia, the free encyclopedia

Template:2014 Asian Games profile displays an external link to an athlete's archived profile at Incheon2014.kr, an official website of the Incheon 2014 Asian Games. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{2014 Asian Games profile | ID }}
{{2014 Asian Games profile | ID | NAME }}
Named parameters
{{2014 Asian Games profile | id= ID }}
{{2014 Asian Games profile | id= ID | name= NAME }}
{{2014 Asian Games profile | id= ID | name= NAME }}
{{2014 Asian Games profile | id= ID | name= NAME | en_archive= NUMBER }}
{{2014 Asian Games profile | id= ID | name= NAME | ko_archive= NUMBER }}

Examples

[edit]

English page (default)

[edit]
Usage
* {{2014 Asian Games profile | 5123269 | Rahi Jeevan Sarnobat }}
* {{2014 Asian Games profile | id= 5123269 | name= Rahi Jeevan Sarnobat }}
Output
URL
https://web.archive.org/web/2014/http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123269&lang=en

English page using en_archive parameter

[edit]
Usage
* {{2014 Asian Games profile | 5100297 | Cen Nanqin | en_archive= 20141106193755 }}
* {{2014 Asian Games profile | id= 5100297 | name= Cen Nanqin | en_archive= 20141106193755 }}
Output
URL
https://web.archive.org/web/20141106193755/http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5100297&lang=en

Korean page using ko_archive parameter

[edit]
Usage
* {{2014 Asian Games profile | 5123574 | Choi Kyuwoong | ko_archive= 20141002022052 }}
* {{2014 Asian Games profile | id= 5123574 | name= Choi Kyuwoong | ko_archive= 20141002022052 }}
Output
URL
https://web.archive.org/web/20141002022052/http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123572&lang=ko

Both languages

[edit]
Usage
* {{2014 Asian Games profile|5123492|Ryu Hansu|en_archive=20141202064744|ko_archive=20141002184111}}
Output
URLs
https://web.archive.org/web/20141202064744/http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123492&lang=en
https://web.archive.org/web/20141002184111/http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123492&lang=ko

No parameters and Wikidata property not defined

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

TemplateData for 2014 Asian Games profile

This template displays an external link to an athlete's archived profile at Incheon2014.kr, an official website of the Incheon 2014 Asian Games. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 5123492 in http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123492&lang=en or http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123492&lang=ko. This parameter is optional if Wikidata property P4068 exists, but required if not.

Numberrequired
Namename 2

The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Stringoptional
Archive number for English URLen_archive

A number representing the date/time in an Internet Archive URL for the English page, such as 20141202064744 in https://web.archive.org/web/20141202064744/http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123492&lang=en. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page.

Default
2014
Numberoptional
Archive number for Korean URLko_archive

A number representing the date/time in an Internet Archive URL for the Korean page, such as 20141002184111 in https://web.archive.org/web/20141002184111/http://www.incheon2014.kr/Sports/Biographies/Athletes_Profile/?ParticCode=5123492&lang=ko. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page.

Numberoptional

See also

[edit]
[edit]