Template:2022 Asian Games profile/doc
This is a documentation subpage for Template:2022 Asian Games profile. It may contain usage information, categories and other content that is not part of the original template page. |
Template:2022 Asian Games profile displays an external link to an athlete's archived profile at the official website of the Hangzhou 2022 Asian Games. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{2022 Asian Games profile | ID }}
{{2022 Asian Games profile | ID | NAME }}
- Named parameters
{{2022 Asian Games profile | id= ID }}
{{2022 Asian Games profile | id= ID | name= NAME }}
{{2022 Asian Games profile | id= ID | name= NAME | archive= NUMBER }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{2022 Asian Games profile | weightlifting/athlete-profile-n2025907-toychyyev-hojamuhammet | Hojamuhammet Toychyyev }}
- Output
-
- Hojamuhammet Toychyyev at the Hangzhou 2022 Asian Games (archived)
Named parameters
[edit]- Usage in Rikako Ikee
* {{2022 Asian Games profile |id= swimming/athlete-profile-n2014559-ikee-rikako |archive= 20230919162902 }}
- Output
-
- Rikako Ikee at the Hangzhou 2022 Asian Games (archived)
No parameters
[edit]- Usage
* {{2022 Asian Games profile}}
- Output
-
- {{2022 Asian Games profile}} template missing ID.
TemplateData
[edit]TemplateData for 2022 Asian Games profile
This template displays an external link to an athlete's archived profile at the official website of the Hangzhou 2022 Asian Games. 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 swimming/athlete-profile-n2014559-ikee-rikako in https://info.hangzhou2022.cn/en/results/swimming/athlete-profile-n2014559-ikee-rikako.htm.
| String | required |
Name | name 2 | The link text, which should be the name of the person. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
Internet Archive date/time | archive | A number indicating the date and time of an archive at the Internet Archive website, such as 20230919162902 in https://web.archive.org/web/20230919162902/https://info.hangzhou2022.cn/en/results/swimming/athlete-profile-n2014559-ikee-rikako.htm (2023-09-19 16:29:02 archive of https://info.hangzhou2022.cn/en/results/swimming/athlete-profile-n2014559-ikee-rikako.htm).
| Number | optional |
See also
[edit]External links
[edit]