Template:Infobox book: Difference between revisions

From Vigyanwiki
Template>Malyctenar
(to display caption just with image, you don't need to test image twice; parameter whose existence we've checked will NEVER use default; comments-hiding linebreaks in HTML table quite pointless)
Template>Pigsonthewing
(add title label for non CSS users)
Line 1: Line 1:
<table class="infobox" style="width: 20em; text-align: left">
<table class="infobox" style="width: 20em; text-align: left">
<caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!--
<caption style="font-size: larger;"><span style="display:none;">Title: </span>'''''{{{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>}}

Revision as of 04:15, 29 March 2007

Title: {{{name}}}
Author{{{author}}}
Publisher{{{publisher}}}
Released{{{release_date}}}

Usage

{{Infobox Book 
| name          = 
| title_orig    = (use if not originally in English)
| 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   = 
}}

See the talk page for more thorough documentation.

Please do not make major changes to the infobox without proposing and discussing it on the talk page first.