• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Librivox book/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Librivox book
This is the template sandbox page for Template:Librivox book (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Librivox book (sandbox)
WarningThis template is used on approximately 3,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 is for linking to books at LibriVox. For linking to authors see {{Librivox author}}.

Usage

edit

In most cases the template takes two parameters, the title of the book and the author name.

{{Librivox book |title=<book title> |author=<author name>}}

Parameter options:

  • title = The title of the book. This will be the search term at LibriVox, and the display name at Wikipedia. If no title is given it defaults to the article name (not normally recommended in case the article is renamed in the future).
  • stitle = The title used when searching LibriVox.org.
  • dtitle = The display title on Wikipedia.
Example for The Federalist Papers:
{{Librivox book |stitle=The Federalist Papers |dtitle=''The Federalist'' papers}}
Will produce:
The Federalist papers public ___domain audiobook at LibriVox
Note the use of italics and no author field.
  • author = The name of the author. Usually this only needs to be the last name of the author. You may use the full name for future compatibility (recommended) but for now the template extracts the last word in the name only. If no author is given (such as the federalist paper example above) it will be result in a broader search at LibriVox.org.

Examples

edit
{{Librivox book | title=The Time Machine | author=H. G. Wells}}

Will produce:

The Time Machine public ___domain audiobook at LibriVox
The above documentation is transcluded from Template:Librivox book/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Librivox_book/sandbox&oldid=1257334555"
Last edited on 14 November 2024, at 11:27

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 14 November 2024, at 11:27 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop