Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24f2485485c07d6

Jump to content

Template:OL author/doc

From Wikipedia, the free encyclopedia


This template generates a link for browsing an author's works on Open Library.

Usage

[edit]

One of:

  • {{OL author}}
  • {{OL author|id=id of the author as specified at openlibrary.org|cname=name to be displayed}}

The former fetches the ID from Wikidata and takes the name from the page name.

|id= is the openlibrary id in the form ####A 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

[edit]
Code

{{OL author|21491A}}

Result

Works by OL author/doc at Open Library – no name provided so use page name

Code

{{OL author|id=21491A|cname=Jack Kerouac}}

Result

Works by Jack Kerouac at Open Library

Tracking categories

[edit]

Template Data

[edit]

This template generates a link for browsing an author's works on Open Library.

Template parameters

ParameterDescriptionTypeStatus
Author IDid

The Open Library id in the form ####A where #### is a series of one or more digits; do not include 'OL' prefix

Example
21491A
Stringrequired
Display name (optional)cname

An optional parameter for the name to be displayed – if omitted, uses page name.

Example
Jack Kerouac
Stringoptional

See also

[edit]