Template:Chinese Olympic Committee profile/doc
This is a documentation subpage for Template:Chinese Olympic Committee profile. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Chinese Olympic Committee profile displays an external link to an athlete's archived profile from data.star.sports.cn, a former official website of the Chinese Olympic Committee. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Chinese Olympic Committee profile | ID }}
{{Chinese Olympic Committee profile | ID | NAME }}
- Named parameters
{{Chinese Olympic Committee profile | id= ID }}
{{Chinese Olympic Committee profile | id= ID | name= NAME }}
{{Chinese Olympic Committee profile | id= ID | name= NAME | en_archive= NUMBER }}
{{Chinese Olympic Committee profile | id= ID | name= NAME | zh_archive= NUMBER }}
- Using Wikidata property
{{Chinese Olympic Committee profile}}
{{Chinese Olympic Committee profile | name= NAME }}
Examples
[edit]English page, earliest available archive (default)
[edit]- Usage
* {{Chinese Olympic Committee profile | 16317 | Li Xiaoxia }}
* {{Chinese Olympic Committee profile | id= 16317 | name= Li Xiaoxia }}
- Output
-
- Li Xiaoxia at the Chinese Olympic Committee (archived)
English page using en_archive parameter
[edit]- Usage
* {{Chinese Olympic Committee profile | 16020 | Cao Yuan | en_archive= 20201004015650 }}
* {{Chinese Olympic Committee profile | id= 16020 | name= Cao Yuan | en_archive= 20201004015650 }}
- Output
-
- Cao Yuan at the Chinese Olympic Committee (archived)
Chinese page using zh_archive parameter
[edit]- Usage
* {{Chinese Olympic Committee profile | 2586 | Liao Hui | zh_archive= 20200724202626 }}
* {{Chinese Olympic Committee profile | id= 2586 | name= Liao Hui | zh_archive= 20200724202626 }}
- Output
-
- Liao Hui at the Chinese Olympic Committee (archived) (in Chinese)
Both languages
[edit]- Usage
* {{Chinese Olympic Committee|756|Li Na|en_archive=20200920203919|zh_archive=20201025051337}}
* {{Chinese Olympic Committee|id=756|name=Li Na|en_archive=20200920203919|zh_archive=20201025051337}}
- Output
-
- Li Na at the Chinese Olympic Committee (archived, also available in Chinese)
- URLs
- https://web.archive.org/web/20200920203919/http://data.star.sports.cn/person_en.php?id=756
- https://web.archive.org/web/20201025051337/http://data.star.sports.cn/person.php?id=756
No parameters and Wikidata property not defined
[edit]- Usage
* {{Chinese Olympic Committee profile}}
- Output
-
- {{Chinese Olympic Committee profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Chinese Olympic Committee profile
This template displays an external link to an athlete's archived profile from data.star.sports.cn, a former official website of the Chinese Olympic Committee. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL, such as 756 in http://data.star.sports.cn/person_en.php?id=756 or http://data.star.sports.cn/person.php?id=756. This parameter is optional if Wikidata property P4068 exists, but required if not.
| Number | optional |
Name | name 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)".
| String | optional |
Archive number for English URL | en_archive | A number representing the date/time in an Internet Archive URL for the English page, such as 20201004015650 in https://web.archive.org/web/20201004015650/http://data.star.sports.cn/person_en.php?id=16020. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page.
| Number | optional |
Archive number for Chinese URL | zh_archive | A number representing the date/time in an Internet Archive URL for the Chinese page, such as 20200724202626 in https://web.archive.org/web/20200724202626/http://data.star.sports.cn/person.php?id=2586. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page. | Number | optional |
See also
[edit]Olympic profile templates
[edit]Country | Template | Wikidata property |
---|---|---|
{{Olympics.com profile}} | P5815: Olympics.com athlete ID | |
Argentina | {{COA profile}} | P4065: Argentine Olympic Committee athlete ID |
Australia | {{AOC profile}} | P3682: Australian Olympic Committee athlete ID |
Azerbaijan | {{Olympic.az profile}} | P10975: National Olympic Committee of the Republic of Azerbaijan athlete ID |
Belarus | {{NOC Belarus}} | |
Belgium | {{Team Belgium}} | P10963: Belgian Olympic and Interfederal Committee athlete ID |
Brazil | {{COB profile}} | P4060: Brazilian Olympic Committee athlete ID |
Canada | {{Team Canada}} | P4054: Team Canada athlete ID |
China | {{Chinese Olympic Committee profile}} | P4068: Chinese Olympic Committee athlete ID (archived) |
Croatia | {{HOO profile}} | P4541: Croatian Olympic Committee athlete ID (archived) |
Czech Republic | {{COV profile}} | P4062: Czech Olympic Committee athlete ID |
Estonia | {{ESBL profile}} | P4042: ESBL athlete ID |
Estonia | {{EOK profile}} | |
Finland | {{Olympiakomitea.fi}} | |
France | {{CNOSF profile}} | P4050: EspritBleu athlete ID (archived) |
France | {{Team France}} | P11934: Team France athlete ID |
Germany | {{DOSB profile}} | P4053: Team Deutschland athlete ID |
Great Britain | {{Team GB}} | P4490: Team GB athlete ID |
Greece | {{HOC profile}} | P4489: Hellenic Olympic Committee athlete ID (archived) |
Hungary | {{MOB profile}} | P4066: Hungarian Olympic Committee athlete ID |
Ireland | {{OFI profile}} | P10914: Olympic Federation of Ireland athlete ID |
Israel | {{OCI profile}} | P9669: Olympic Committee of Israel athlete ID (archived) |
Italy | {{CONI profile}} | P4069: Italian National Olympic Committee athlete ID |
Japan | {{JOC profile}} | |
Kazakhstan | {{Olympic.kz profile}} | P11024: National Olympic Committee of the Republic of Kazakhstan athlete ID |
Latvia | {{LOK profile}} | P2593: Latvian Olympic Committee athlete ID (archived) |
Lithuania | {{LTOK profile}} | P4061: Lithuanian National Olympic Committee athlete ID |
Luxembourg | {{COSL profile}} | P12372: Luxembourg Olympic and Sports Committee profile ID |
Morocco | {{CNOM profile}} | P11019: Moroccan Olympic Committee athlete ID |
Netherlands | {{TeamNL profile}} | P9822: TeamNL athlete ID number (archived) |
Netherlands | {{NOCNSF profile}} | P10957: NOC*NSF athlete ID |
New Zealand | {{NZOC profile}} | P4056: New Zealand Olympic Committee athlete ID |
Norway | {{Team Norway}} | |
Poland | {{PKOl profile}} | P6071: Polish Olympic Committee athlete ID (archived) |
Qatar | {{Team Qatar}} | |
Romania | {{COSR profile}} | P4067: Romanian Olympic and Sports Committee athlete ID |
Serbia | {{OKS profile}} | P10978: Olympic Committee of Serbia athlete ID (new) |
Singapore | {{SNOC profile}} | P10979: Singapore National Olympic Council athlete ID |
Slovakia | {{SOSV profile}} | P10647: Slovak Olympic and Sports Committee athlete ID |
Spain | {{COE profile}} | P8421: Spanish Olympic Committee athlete ID |
Sweden | {{SOK profile}} | P2323: Swedish Olympic Committee athlete ID |
Turkey | {{TMOK profile}} | P9973: Turkish National Olympic Committee athlete ID |
Turkey | {{Olimpedya}} | |
United States | {{USOPC profile}} | P4063: Team USA athlete former ID (archived) |
External links
[edit]- Athletes list at data.star.sports.cn (archived 2020-10-04) (in English)
- Athletes list at data.star.sports.cn (archived 2021-04-13) (in Chinese)
- List of archived pages from data.star.sports.cn