Difference between revisions of "Template:Book"

Jump to navigation Jump to search
m
→‎Parameters: Try again
m (→‎Parameters: Update)
m (→‎Parameters: Try again)
 
(One intermediate revision by the same user not shown)
|-
| 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 page name in italics). 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 opts to overwrite this with the more sensible ''Elantris''. Similarly, the [[Dragonsteel Prime]] infobox uses this parameter to only italicize the ''Dragonsteel'' part of the page name.
| style="white-space: nowrap;" |
<code><nowiki>|title=''Elantris''</nowiki></code>
|-
| 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