Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

(infobox is for displaying the most important data, so there's no reason to make them tinier than the ordinary text. Simplifying image/caption bit, no need to spell out Original title wasn't in English)
(people easily get confused about the purpose of the Original Title unless this is present - image caption is not relevant if no image)
Line 2: Line 2:
 
<caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!--
 
<caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!--
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image}}}
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image}}}
{{#if:{{{image_caption|}}}
+
-->{{#if:{{{image|}}}|{{#if:{{{image_caption|}}}
|<br>{{{image_caption}}} }}</td></tr>}}
+
|<tr><td colspan="2" style="text-align: center;">{{{image_caption|}}}</td></tr>}}}}
 
<tr><th>Author</th><td>{{{author}}}</td></tr><!--
 
<tr><th>Author</th><td>{{{author}}}</td></tr><!--
-->{{#if:{{{title_orig|}}}|<tr><th>Original title</th><td>{{{title_orig}}}</td></tr>}}<!--
+
-->{{#if:{{{title_orig|}}}|<tr><th>Original title (if not in English)</th><td>{{{title_orig}}}</td></tr>}}<!--
 
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!--
 
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!--
 
-->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator|}}}</td></tr>}}<!--
 
-->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator|}}}</td></tr>}}<!--

Revision as of 15:56, 6 March 2007

{{#if:|
{{{name}}}
{{{image}}}

-->

Author{{{author}}}
Publisher{{{publisher}}}
Released{{{release_date}}}

Usage

{{Infobox Book 
| name          = 
| title_orig    = 
| translator    = 
| image         = 
| image_caption = 
| author        = 
| illustrator   = 
| cover_artist  = 
| country       = 
| language      = 
| series        = 
| subject       = 
| genre         = 
| publisher     = 
| release_date  = 
| english_release_date =
| media_type    = 
| pages         = 
| isbn          = 
| preceded_by   = 
| followed_by   = 
}}

Template:Esoteric

Please do not make major changes to the infobox without proposing and discussing it on the talk page first.bs:Šablon:Infokutija knjiga de:Vorlage:Infobox Buch es:Plantilla:Infobox Libro fr:Modèle:Fiche livre hr:Predložak:Infobox knjiga nl:Sjabloon:Boek pt:Info livro ru:Шаблон:Издание zh:Template:Infobox Book