Template:Baidu Baike/doc
![]() | This is a documentation subpage for Template:Baidu Baike. It may contain usage information, categories and other content that is not part of the original template page. |
This template can be used to provide a link to Baidu Baike's article on a given subject.
Usage
[edit]This template may be used in the "External links" section of an article. Given Wikipedia's policy on user-generated content, its usage is generally not appropriate for references, see also Perennial sources entry.
Unnamed parameters:
{{Baidu Baike | TOPIC }}
{{Baidu Baike | TOPIC | SUBID }}
Named parameters:
{{Baidu Baike | title=TOPIC }}
{{Baidu Baike | title=TOPIC | subid=SUBID }}
{{Baidu Baike | title=TOPIC | id=ID }}
TOPIC is the topic name of the Baidu Baike article in question. It is the first part of an url after /item. For example, in https://baike.baidu.com/item/鲸目/1521573 the TOPIC is "鲸目".
SUBID is an optional numberic id. For example, in https://baike.baidu.com/item/鲸目/1521573 the SUBID is "1521573".
ID is an alternative stable identifier for the page that can be found in URLs in the form of https://baike.baidu.com/view/84227.html or by looking for the "lemmaId": in the clickstream.setLogGlobalParam function call in the page source code. See for example How to view the HTML source code of a web page if you need help with this.
This template places articles in Category:Articles with Baidu Baike links.
See also
[edit]- {{Baike.com}}
- {{Britannica}}