Template:Book link
Appearance
| This template uses Lua: |
| This template uses TemplateStyles: |
💣 Experimental - don't use if you value your eyebrows 💣
Usage
[edit]Construct a link to a "book": pretty much any a work on Wikisource that’s not a periodical article.
This template allow the construction of "standard" links to books on Author and Portal pages without having to manually handle formatting.
Example
* {{book link
| title = War Prisoners (Darrow)
| display = War Prisoners
| author = Clarence Seward Darrow
| author_display = Clarence Darrow
| year = 1919
}}
- War Prisoners by (1919)
Example: A chapter of a book
* {{book link
| title = Leaves of Grass (1855)
| display = Leaves of Grass
| chapter = To think of time
| chapter_display = To Think of Time
| author = Walt Whitman
| year = 1855
}}
- "To think of time" in Leaves of Grass by (1855)
From Lua modules
[edit]It can also be called from templates like {{work link}} in order to separate the formatting from the property collection step. This is done by directly invoking Module:Book link's render_link function.
See also
[edit]- {{work link}} constructs a {{book link}} for some types of work
- {{article link}} for periodical articles