Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

(restored size_weight to the template, but not to the Usage i.e. it still shows in the old articles)
(add image_caption optional field)
Line 3: Line 3:
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image|}}}</td></tr>}}
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image|}}}</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 (if not in English)</th><td>{{{title_orig|}}}</td></tr>}}<!--
+
-->{{#if:{{{title_orig|}}}|<tr><th>Original title (if not in English)</th><td>{{{title_orig|}}}<div>{{{image_caption|}}}</div>}}</td></tr>}}<!--
 
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!--
 
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!--
 
-->{{#if:{{{cover_artist|}}}|<tr><th>Cover Artist</th><td>{{{cover_artist|}}}</td></tr>}}<!--
 
-->{{#if:{{{cover_artist|}}}|<tr><th>Cover Artist</th><td>{{{cover_artist|}}}</td></tr>}}<!--
Line 24: Line 24:
 
<pre>
 
<pre>
 
{{Infobox Book  
 
{{Infobox Book  
| name         =  
+
| name         =  
| title_orig   =  
+
| title_orig   =  
| translator   =  
+
| translator   =  
| image       =  
+
| image         =
| author       =  
+
| image_caption =  
| cover_artist =  
+
| author       =  
| country     =  
+
| cover_artist =  
| language     =  
+
| country       =  
| series       =  
+
| language     =  
| subject     =  
+
| series       =  
| genre       =  
+
| subject       =  
| publisher   =  
+
| genre         =  
| release_date =  
+
| publisher     =  
| media_type   =  
+
| release_date =  
| pages       =  
+
| media_type   =  
| isbn         =  
+
| pages         =  
| preceded_by =  
+
| isbn         =  
| followed_by =  
+
| preceded_by   =  
 +
| followed_by   =  
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 14:16, 5 June 2006

</td></tr>}}
{{{name}}}
Author{{{author}}}
Publisher{{{publisher}}}
Released{{{release_date}}}

Usage

{{Infobox Book 
| name          = 
| title_orig    = 
| translator    = 
| image         = 
| image_caption = 
| author        = 
| cover_artist  = 
| country       = 
| language      = 
| series        = 
| subject       = 
| genre         = 
| publisher     = 
| 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.