Difference between revisions of "Template:Book"

Jump to navigation Jump to search
m
→‎Parameters: Try again
m (More standard form of raw parameter)
m (→‎Parameters: Try again)
 
(8 intermediate revisions by 3 users not shown)
 
-->{{#if:{{{prequel|}}}|<span style="float: left; ">[[{{{prev|{{{prequel}}}|}}}|<]]</span>}}<!--
-->{{{title|''{{PAGENAME}}''|}}}{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{display-title|{{{title|''{{PAGENAME}}''}}}}}}}}}}<!--
-->{{#if:{{{sequel|}}} |<span style="float: right;">[[{{{next|{{{sequel}}}| }}}|>]]</span>}}<!--
 
}}<includeonly><!--
 
-->[[category:{{cat ns|books]]|only=0}}<!--
-->[[category:{{cat ns|meta]]|only=0}}<!--
 
-->{{#if:{{{cover-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
{{for|Template:Literature|the template describing in-world books|pre=This is the infobox template for real world books}}
This template is used to describe actual books written by Brandon Sanderson. This includes published novels (e.g. ''[[The Way of Kings]]'', ''[[Legion (book)|Legion]]''), short stories (e.g. ''[[Perfect State]]''), anthologies (e.g. ''[[Arcanum Unbounded]]''), graphic novels (e.g. ''[[White Sand Volume 1|White Sand (vol. 1)]]''), and derivative works, such as the ''[[Mistborn Adventure Game (rule book)|Mistborn Adventure Game RPG]]'' and its expansions. In addition to any published works, this template also applies to books planned for the future (e.g. ''[[Nightblood (book)|Nightblood]]'') and books written in the past but not published (e.g. ''[[The Liar of Partinel]]'' or ''[[Aether of Night]]''). Notably, this template does not apply to Brandon's essays, blogs, annotations, or in-world books.
 
__TOC__
 
=== Template ===
On lines with multiple parameters (e.g. <code>|publisher= / 'publisher-raw=</code>) pick only the one most appropriate.
<pre class=mw-code>
{{book
|collaborators=
|released=
|publisher= / 'publisher-raw=
|ISBN=
|annotation= / annotations=
|-
| style="text-align: center;" | <code>title</code>
| Rarely used, the <code>title</code> parameter allows you to overwrite the default title of the infobox (which is the samepage asname thein page nameitalics). This is mostly useful when the page name is somehow different from the actual title of the book. For example, ''Alcatraz Versus the Evilarticle Librariansfor ''Elantris'' is both the name of anamed [[Alcatraz_Versus_the_Evil_Librarians_Elantris (book)|book]], andto itsdisambiguate with [[Alcatraz VersusElantris (city)|the Evilcity Librariansof (series)|seriesElantris]]., Sinceso the defaultinfobox pageopts titleto foroverwrite this with the bookmore issensible [[Alcatraz''Elantris''. VersusSimilarly, the Evil[[Dragonsteel Librarians (book)Prime]], the infobox optsuses tothis overwriteparameter thisto withonly aitalicize more sensiblethe ''AlcatrazDragonsteel'' Versuspart of the Evilpage Librarians''name.
| style="white-space: nowrap;" |
<code><nowiki>|title=Alcatraz Versus the Evil Librarians''Elantris''</nowiki></code>
 
<!-- ------------------ -->
<!-- ROW: display-title -->
<!-- ------------------ -->
|-
| style="text-align: center;" | <code>display-title</code>
| Also rarely used, the <code>display-title</code> parameter allows you to change how the page title is formatted (which defaults to follow the <code>title</code> parameter, if used, otherwise it is simply italicized in full). This is mostly useful when the page name is somehow different from the actual title of the book. For example, the article for ''Elantris'' is named [[Elantris (book)]], to disambiguate with [[Elantris (city)|the city of Elantris]], so the infobox uses this parameter to format the page title as ''Elantris'' (book).
| style="white-space: nowrap;" |
<code><nowiki>|display-title=''Elantris'' (book)</nowiki></code>
 
<!-- ---------- -->
 
<!-- ------------------------------ -->
<!-- ROW: publisher / 'publisher-raw -->
<!-- ------------------------------ -->
|-
| style="text-align: center; white-space: nowrap;" | <code>publisher</code> <br><small>or</small><br> <code>'publisher-raw</code>
| Use this to link to the publisher's Wikipedia page.<br>
<small>To bypass the automatic linking or to link to a non-Wikipedia website, use <code>'publisher-raw</code>.</small>
| style="white-space: nowrap;" |
<code><nowiki>|publisher=Tor books</nowiki></code><br>
<code><nowiki>|'publisher-raw=Subterranean Press</nowiki></code><br>
<code><nowiki>|'publisher-raw=[https://subterraneanpress.com/ Subterranean Press]</nowiki></code>
 
<!-- --------- -->

Navigation menu