Works by Librivox author/sandbox at LibriVox (public domain audiobooks)
This is the template sandbox page for Template:Librivox author (diff). See also the companion subpage for test cases. |
This template is used on approximately 6,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses the Wikidata property:
This template uses Lua: |
Usage
editUnnamed parameters:
{{Librivox author | SEARCH+TEXT }}
{{Librivox author | SEARCH+TEXT | TITLE }}
Named parameters:
{{Librivox author | id= ID }}
{{Librivox author | id= ID | title= TITLE }}
Using Wikidata property LibriVox author ID (P1899):
{{Librivox author}}
{{Librivox author | title= TITLE }}
Examples
editUnnamed parameters (search page)
edit- Usage
* {{Librivox author|Albert+Einstein|Albert Einstein}}
- Output
-
- Works by Albert Einstein at LibriVox (public domain audiobooks)
Named parameters (author page)
edit- Usage
* {{Librivox author|id=1035|title=Albert Einstein}}
- Output
-
- Works by Albert Einstein at LibriVox (public domain audiobooks)
No parameters and no ID in Wikidata
edit- Usage
* {{Librivox author}}
- Output
-
- {{Librivox author}} template missing ID and not present in Wikidata.
Notes
edit- Note the "+" sign replaces [space] in the first example. This leads to a search result page. To go direct to the author page, use the "id=" switch.
- The optional "id=##" is for linking directly to authors page bypassing the search page. eg. http://librivox.org/author/1035
- See {{Librivox book}} for individual books.
See also
edit- LV2WP, code to map LibriVox author IDs to Wikipedia article names.
- {{Internet Archive author}} for Internet Archive
- {{Gutenberg author}} for Project Gutenberg