Template:Chinese Olympic Committee profile/doc
![]() | This is a documentation subpage for Template:Chinese Olympic Committee profile. It contains 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 profile at data.star.sports.cn, an official website of the Chinese Olympic Committee. It is intended for use in the external links section of an article.
Contents
Usage
- 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 }}
- Using Wikidata property Template:Property
{{Chinese Olympic Committee profile}}
{{Chinese Olympic Committee profile | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{Chinese Olympic Committee profile | 16317 | Li Xiaoxia }}
- Output
-
- Li Xiaoxia at the Chinese Olympic Committee (also available in Chinese)Script error: No such module "EditAtWikidata".
- URLs
- http://data.star.sports.cn/person_en.php?id=16317 (in English)
- http://data.star.sports.cn/person.php?id=16317 (in Chinese)
Named parameters
- Usage
* {{Chinese Olympic Committee profile | id= 16020 | name= Cao Yuan }}
- Output
-
- Cao Yuan at the Chinese Olympic Committee (also available in Chinese)Script error: No such module "EditAtWikidata".
- URLs
- http://data.star.sports.cn/person_en.php?id=16020 (in English)
- http://data.star.sports.cn/person.php?id=16020 (in Chinese)
No parameters and Wikidata property not defined
- Usage
* {{Chinese Olympic Committee profile}}
- Output
-
- Template:PAGENAMEBASE at the Chinese Olympic Committee (also available in Chinese)Script error: No such module "EditAtWikidata".
TemplateData
TemplateData for Chinese Olympic Committee profile
This template displays an external link to an athlete's profile at data.star.sports.cn, an 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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 16317 is the ID portion of http://data.star.sports.cn/person_en.php?id=16317 or http://data.star.sports.cn/person.php?id=16317. This parameter is optional if Wikidata property P4068 exists, but required if not.
| Number | optional |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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 |
See also
- {{IOC profile}} for links to profiles from the International Olympic Committee
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{CNOSF profile}} for links to profiles from the Comité National Olympique et Sportif Français
- {{COA profile}} for links to profiles from the Comité Olímpico Argentino
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{CONI profile}} for links to profiles from the Comitato Olimpico Nazionale Italiano
- {{COSR profile}} for links to profiles from the Comitetul Olimpic și Sportiv Român
- {{COV profile}} for links to profiles from the Český olympijský výbor
- {{DOSB profile}} for links to profiles from the Deutscher Olympischer Sportbund
- {{LOK profile}} for links to profiles from the Latvijas Olimpiskā Komiteja
- {{MOB profile}} for links to profiles from the Magyar Olimpiai Bizottság
- {{NZOC profile}} for links to profiles from the New Zealand Olympic Committee
- {{OKS profile}} for links to profiles from the Olimpijski Komitet Srbije
- {{PKOl profile}} for links to profiles from the Polski Komitet Olimpijski
- {{SNOC profile}} for links to profiles from the Singapore National Olympic Council
- {{SOK profile}} for links to profiles from the Sveriges Olympiska Kommitté
- {{Team GB}} for links to profiles from Team GB (the British Olympic Association)
- {{USOPC profile}} for links to profiles from the United States Olympic & Paralympic Committee