• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:OL book

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
Wikidata-logo-with-magnifying-glass-icon.svg This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
This template uses Lua:
  • Module:EditAtWikidata
  • Module:WikidataCheck

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

Contents

  • 1 Usage
  • 2 Examples
  • 3 Tracking categories
  • 4 See also

Usage

Use one of:

  • {{OL book}}
  • {{OL book|id=id of the book 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 ####M 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 title

Examples

Code

{{OL book|id=23330498M}}

Result

OL book on Open Library at the Internet Archive – uses page title

Code

{{OL book|id=23330498M|cname=''The Road to Oz'' by L. Frank Baum}}

Result

The Road to Oz by L. Frank Baum on Open Library at the Internet Archive

Tracking categories

  • Category:Open Library ID not in Wikidata (0)
  • Category:Open Library ID different from Wikidata (0)
  • Category:Open Library ID same as Wikidata (0)
  • Category:Articles with Open Library links (0)

See also

  • Template:OL author
  • Template:OL work
  • Template:OL
The above documentation is transcluded from Template:OL book/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:OL_book&oldid=25663"
Categories:
  • Pages with script errors
  • Templates using data from Wikidata
  • Templates tracking Wikidata
  • Lua-based templates
  • Book templates
  • Internet Archive templates
  • External link templates using Wikidata
  • Templates that add a tracking category
Last edited on 15 January 2020, at 07:32

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 15 January 2020, at 07:32.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop