Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

(cat sorting)
(Removing hiddenStructure CSS hack due to accessibility problems)
Line 1: Line 1:
 
{| class="infobox" style="width: 20em; font-size: 90%; text-align: left;"
 
{| class="infobox" style="width: 20em; font-size: 90%; text-align: left;"
 
|+ style="font-size: larger;" | '''''{{{name}}}'''''
 
|+ style="font-size: larger;" | '''''{{{name}}}'''''
|- class="hiddenStructure{{{image|}}}"
+
|-
 
| colspan="2" style="text-align: center;" | {{{image|}}}
 
| colspan="2" style="text-align: center;" | {{{image|}}}
 
|-  
 
|-  
 
! Author
 
! Author
 
| {{{author}}}
 
| {{{author}}}
|- class{{{cover_artist|}}}="hiddenStructure"
+
|-
! Cover Artist
+
! {{qif|test={{{cover_artist|}}}|then=Cover Artist<td>{{{cover_artist}}} }}
| {{{cover_artist}}}
+
 
|-  
 
|-  
 
! Publisher
 
! Publisher
Line 15: Line 14:
 
! Released
 
! Released
 
| {{{release_date}}}
 
| {{{release_date}}}
|- class{{{media_type|}}}="hiddenStructure"
+
|-
! Media Type
+
! {{qif|test={{{media_type|}}}|then=Media Type<td>{{{media_type}}} }}
| {{{media_type}}}
+
|-
|- class{{{pages|}}}="hiddenStructure"
+
! {{qif|test={{{pages|}}}|then=Pages<td>{{{pages}}} }}
! Pages
+
|-
| {{{pages}}}
+
! {{qif|test={{{size_weight|}}}|then=Size and Weight<td>{{{size_weight}}} }}
|- class{{{size_weight|}}}="hiddenStructure"
+
|-
! Size and Weight
+
! {{qif|test={{{isbn|}}}|then=ISBN<td>{{{isbn}}} }}
| {{{size_weight}}}
+
|-
|- class{{{isbn|}}}="hiddenStructure"
+
! {{qif|test={{{preceded_by|}}}|then=Preceded&nbsp;by<td>''{{{preceded_by}}}''}}
! ISBN
+
|-
| {{{isbn}}}
+
! {{qif|test={{{followed_by|}}}|then=Followed&nbsp;by<td>''{{{followed_by}}}''}}
|- class{{{preceded_by|}}}="hiddenStructure"
+
! Preceded&nbsp;by
+
| ''{{{preceded_by}}}''
+
|- class{{{followed_by|}}}="hiddenStructure"
+
! Followed&nbsp;by
+
| ''{{{followed_by}}}''
+
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 01:49, 27 January 2006

{{{name}}}
Author {{{author}}}
Template:Qif
Publisher {{{publisher}}}
Released {{{release_date}}}
Template:Qif
Template:Qif
Template:Qif
Template:Qif
Template:Qif
Template:Qif

Usage

{{Infobox_Book | name = 
| image  = 
| author =
| cover_artist = 
| publisher =
| release_date =
| media_type =
| pages =
| size_weight = 
| isbn =
| preceded_by =
| followed_by = 
}}

Please do not make major changes to the infobox, such as the addition of new fields (e.g. MPAA ratings), without proposing and discussing it on the talk page first. If you make any changes, please make sure that all pages relying on this template (Special:Whatlinkshere/Template:Infobox_Book) still work.