Difference between revisions of "Template:Book"

Jump to navigation Jump to search
m
m
m (→‎Parameters: Update)
|-
| 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, ''Alcatrazthe Versusarticle thefor Evil Librarians''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>
 
<!-- ---------- -->

Navigation menu