Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

(Removing hiddenStructure CSS hack due to accessibility problems)
(rvt WP:POINT)
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"
! {{qif|test={{{cover_artist|}}}|then=Cover Artist<td>{{{cover_artist}}} }}
+
! Cover Artist
 +
| {{{cover_artist}}}
 
|-  
 
|-  
 
! Publisher
 
! Publisher
Line 14: Line 15:
 
! Released
 
! Released
 
| {{{release_date}}}
 
| {{{release_date}}}
|-
+
|- class{{{media_type|}}}="hiddenStructure"
! {{qif|test={{{media_type|}}}|then=Media Type<td>{{{media_type}}} }}
+
! Media Type
|-
+
| {{{media_type}}}
! {{qif|test={{{pages|}}}|then=Pages<td>{{{pages}}} }}
+
|- class{{{pages|}}}="hiddenStructure"
|-
+
! Pages
! {{qif|test={{{size_weight|}}}|then=Size and Weight<td>{{{size_weight}}} }}
+
| {{{pages}}}
|-
+
|- class{{{size_weight|}}}="hiddenStructure"
! {{qif|test={{{isbn|}}}|then=ISBN<td>{{{isbn}}} }}
+
! Size and Weight
|-
+
| {{{size_weight}}}
! {{qif|test={{{preceded_by|}}}|then=Preceded&nbsp;by<td>''{{{preceded_by}}}''}}
+
|- class{{{isbn|}}}="hiddenStructure"
|-
+
! ISBN
! {{qif|test={{{followed_by|}}}|then=Followed&nbsp;by<td>''{{{followed_by}}}''}}
+
| {{{isbn}}}
 +
|- class{{{preceded_by|}}}="hiddenStructure"
 +
! Preceded&nbsp;by
 +
| ''{{{preceded_by}}}''
 +
|- class{{{followed_by|}}}="hiddenStructure"
 +
! Followed&nbsp;by
 +
| ''{{{followed_by}}}''
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 03:05, 27 January 2006

{{{name}}}
Author {{{author}}}
Cover Artist {{{cover_artist}}}
Publisher {{{publisher}}}
Released {{{release_date}}}
Media Type {{{media_type}}}
Pages {{{pages}}}
Size and Weight {{{size_weight}}}
ISBN {{{isbn}}}
Preceded by {{{preceded_by}}}
Followed by {{{followed_by}}}

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.