Template:Chinese Olympic Committee profile/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters

 * Usage


 * Output


 * URLs
 * http://data.star.sports.cn/person_en.php?id= (in English)
 * http://data.star.sports.cn/person.php?id= (in Chinese)

Named parameters

 * Usage


 * Output


 * URLs
 * http://data.star.sports.cn/person_en.php?id= (in English)
 * http://data.star.sports.cn/person.php?id= (in Chinese)

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "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.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P4068" },   "name": { "label": "name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "name" ] }