![]() | This is the template sandbox page for Template:OL author (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
This template generates a link for browsing an author's works on Open Library.
One of:
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
{{OL author|21491A}}
Works by OL author/sandbox at Open Library – no name provided so use page name
{{OL author|id=21491A|cname=Jack Kerouac}}
Works by Jack Kerouac at Open Library
This template generates a link for browsing an author's works on Open Library.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Author ID | id | The Open Library id in the form ####A where #### is a series of one or more digits; do not include 'OL' prefix
| String | required |
Display name (optional) | cname | An optional parameter for the name to be displayed – if omitted, uses page name.
| String | optional |
![]() | This is the template sandbox page for Template:OL author (diff). See also the companion subpage for test cases. |