Template:OL/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:OL (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Standard ID link to the Open Content Alliance's Open Library catalog index.

[edit] Usage

{{OL|full|id=small|author=yes}}

Parameters:

  • full - The typical ID in Open Library, usually in the form OLxxxxxxxx.
  • small - Alternative way of identifying a book or author. It's equal to the full ID, minus the two starting OL characters. This results in a better looking link.
  • author=yes - If added, the resulting link will point to authors database instead of the books one. Otherwise, the link is to the book catalog.

Examples:

The |id= parameter has precedence and its version will render if both it and the unnamed full parameter are present.

[edit] See also