Template:NLC-Book-Link
Generate a link to a book in the National Library of China (NLC).
Usage
{{NLC-Book-Link |1= |2= |catid= |text= }}
NLC partitions their books into different databases or tables, whose name start with "data_". The template takes only the suffix numeric portion. Within a database, a book is assigned with a unique ID (usually numeric, but sometimes alphanumeric). With this two param, a book can be identified uniquely in the NLC and a URL can be generated accordingly. Additionally, a category id (i.e. searchType
) could be specified, which would set the navigation bar and the background of the book page.
Please be noted that a books may consists of multiple volumes (i.e. files), which are identified with their own volume IDs within databases. A database ID paired with a a volume ID can uniquely identify a volume/file in the NLC. This template cares only books but not volumes.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Database ID | The ID of the database in NLC, with preceding "data_" omitted. | empty | optional |
2 | Book ID | The ID of the Book in the database. | empty | required |
catid | Category ID | The ID of the category in the database. It is known as "searchType" in URL. | empty | required |
text | Link text | The text of the hyperlink | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified