Difference between revisions of "Template:Infobox Book"

Line 1: Line 1:
<table class="infobox" style="width: 20em; text-align: left"> <caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!-- -->{{#if: {{{image|}}} |<tr><td colspan=2 style="text-align: center">{{{image}}} {{#if: {{{image_caption|}}} | <br> {{{image_caption}}} }}</td></tr>}} <tr><th>Author</th><td>{{{author}}}</td></tr><!-- -->{{#if:{{{title_orig|}}}|<tr><th>Original title</th><td>{{{title_orig}}}</td></tr>}}<!-- -->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!-- -->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator|}}}</td></tr>}}<!-- -->{{#if:{{{cover_artist|}}}|<tr><th>Cover&nbsp;artist</th><td>{{{cover_artist|}}}</td></tr>}}<!-- -->{{#if:{{{country|}}}|<tr><th>Country</th><td>{{{country|}}}</td></tr>}}<!-- -->{{#if:{{{language|}}}|<tr><th>Language</th><td>{{{language|}}}</td></tr>}}<!-- -->{{#if:{{{series|}}}|<tr><th>Series</th><td>{{{series}}}</td></tr>}}<!-- -->{{#if:{{{subject|}}}|<tr><th>{{nowrap|Subject(s)}}</th><td>{{{subject|}}}</td></tr>}}<!-- -->{{#if:{{{genre|}}}|<tr><th>{{nowrap|Genre(s)}}</th><td>{{{genre|}}}</td></tr>}} <tr><th>Publisher</th><td>{{{publisher}}}</td></tr> <tr><th>Released</th><td>{{{release_date}}}</td></tr><!-- -->{{#if:{{{english_release_date|}}}|<tr><th>Released&nbsp;in&nbsp;English</th><td>{{{english_release_date}}}</td></tr>}}<!-- -->{{#if:{{{media_type|}}}|<tr><th>Media&nbsp;type</th><td>{{{media_type|}}}</td></tr>}}<!-- -->{{#if:{{{pages|}}}|<tr><th>Pages</th><td>{{{pages|}}}</td></tr>}}<!-- -->{{#if:{{{size_weight|}}}|<tr><th>Size&nbsp;and&nbsp;weight</th><td>{{{size_weight|}}}</td></tr>}}<!-- -->{{#if:{{{isbn|}}}|<tr><th>ISBN</th><td>{{{isbn|}}}</td></tr>}}<!-- -->{{#if:{{{preceded_by|}}}|<tr><th>Preceded&nbsp;by</th><td>''{{{preceded_by|}}}''</td></tr>}}<!-- -->{{#if:{{{followed_by|}}}|<tr><th>Followed&nbsp;by</th><td>''{{{followed_by|}}}''</td></tr>}} </table>
+
<table class="infobox" style="width: 20em; text-align: left">
 +
<caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!--
 +
-->{{#if: {{{image|}}} |<tr><td colspan=2 style="text-align: center">{{{image}}}
 +
{{#if: {{{image_caption|}}} | <br> {{{image_caption}}} }}</td></tr>}}
 +
<tr><th>Author</th><td>{{{author}}}</td></tr><!--
 +
-->{{#if:{{{title_orig|}}}|<tr><th>Original title</th><td>{{{title_orig}}}</td></tr>}}<!--
 +
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!--
 +
-->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator|}}}</td></tr>}}<!--
 +
-->{{#if:{{{cover_artist|}}}|<tr><th>Cover&nbsp;artist</th><td>{{{cover_artist|}}}</td></tr>}}<!--
 +
-->{{#if:{{{country|}}}|<tr><th>Country</th><td>{{{country|}}}</td></tr>}}<!--
 +
-->{{#if:{{{language|}}}|<tr><th>Language</th><td>{{{language|}}}</td></tr>}}<!--
 +
-->{{#if:{{{series|}}}|<tr><th>Series</th><td>{{{series}}}</td></tr>}}<!--
 +
-->{{#if:{{{subject|}}}|<tr><th>{{nowrap|Subject(s)}}</th><td>{{{subject|}}}</td></tr>}}<!--
 +
-->{{#if:{{{genre|}}}|<tr><th>{{nowrap|Genre(s)}}</th><td>{{{genre|}}}</td></tr>}}
 +
<tr><th>Publisher</th><td>{{{publisher}}}</td></tr>
 +
<tr><th>Released</th><td>{{{release_date}}}</td></tr><!--
 +
-->{{#if:{{{english_release_date|}}}|<tr><th>Released&nbsp;in&nbsp;English</th><td>{{{english_release_date}}}</td></tr>}}<!--
 +
-->{{#if:{{{media_type|}}}|<tr><th>Media&nbsp;type</th><td>{{{media_type|}}}</td></tr>}}<!--
 +
-->{{#if:{{{pages|}}}|<tr><th>Pages</th><td>{{{pages|}}}</td></tr>}}<!--
 +
-->{{#if:{{{size_weight|}}}|<tr><th>Size&nbsp;and&nbsp;weight</th><td>{{{size_weight|}}}</td></tr>}}<!--
 +
-->{{#if:{{{isbn|}}}|<tr><th>ISBN</th><td>{{{isbn|}}}</td></tr>}}<!--
 +
-->{{#if:{{{preceded_by|}}}|<tr><th>Preceded&nbsp;by</th><td>''{{{preceded_by|}}}''</td></tr>}}<!--
 +
-->{{#if:{{{followed_by|}}}|<tr><th>Followed&nbsp;by</th><td>''{{{followed_by|}}}''</td></tr>}}
 +
</table>

Revision as of 10:16, 17 March 2007

{{{name}}}
Author{{{author}}}
Publisher{{{publisher}}}
Released{{{release_date}}}
Personal tools