Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

(Undid revision 134193446 by Centrx (talk), please discuss changes to this template in the talk page)
(made change per talk request, other minor edits)
Line 1: Line 1:
<table class="infobox" style="width: 20em; text-align: left">
+
{| class="infobox" style="width:20em; text-align:left"
<caption style="font-size: larger;"><span style="display:none;">'''Title''' </span>'''''{{{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|}}} | <br> {{{image_caption}}} }}</td></tr>}}
 
{{#if: {{{image_caption|}}} | <br> {{{image_caption}}} }}</td></tr>}}
Line 20: Line 20:
 
-->{{#if:{{{size_weight|}}}|<tr><th>Size&nbsp;and&nbsp;weight</th><td>{{{size_weight|}}}</td></tr>}}<!--
 
-->{{#if:{{{size_weight|}}}|<tr><th>Size&nbsp;and&nbsp;weight</th><td>{{{size_weight|}}}</td></tr>}}<!--
 
-->{{#if:{{{isbn|}}}|<tr><th>[[International Standard Book Number|ISBN]]</th><td>{{{isbn|}}}</td></tr>}}<!--
 
-->{{#if:{{{isbn|}}}|<tr><th>[[International Standard Book Number|ISBN]]</th><td>{{{isbn|}}}</td></tr>}}<!--
 +
-->{{#if:{{{oclc|}}}|<tr><th>[[OCLC]]</th><td>[http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]</td></tr>}}<!--
 
-->{{#if:{{{preceded_by|}}}|<tr><th>Preceded&nbsp;by</th><td>''{{{preceded_by|}}}''</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>}}
 
-->{{#if:{{{followed_by|}}}|<tr><th>Followed&nbsp;by</th><td>''{{{followed_by|}}}''</td></tr>}}
</table><noinclude>
+
|}<noinclude>
{{/doc}}
+
{{/doc}}</noinclude>
</noinclude>
+

Revision as of 15:38, 10 June 2007

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

Template:/doc