Jump to content

Template:Book link/doc

From Wikisource

💣 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
}}

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
}}

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]