跳转到内容

Template:OL work

维基百科,自由的百科全书

这是本页的一个历史版本,由Cuaxdon留言 | 贡献2021年2月11日 (四) 14:48 (新條目 增加或調整分類)编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This template generates a link to a work on Open Library.

Usage

Use one of:

  • {{OL work}}
  • {{OL work|id=id of the work as specified at openlibrary.org|cname=name to be displayed}}
  • The former fetches the ID from Wikidata and uses the page name.
  • |id= is the Open Library id in the form ####W where #### is a series of one or more digits; do not include 'OL' prefix
  • |cname= is an optional parameter for the name to be displayed – if omitted, uses page name

Examples

Code

{{OL work|id=65941W}}

Result

OL work at Open Library – uses page name

Code

{{OL work|id=65941W|cname=''On the Road'' by Jack Kerouac}}

Result

On the Road by Jack Kerouac at Open Library

追踪分类

See also