Difference between revisions of "Template:Bookheader"

From Wikitheus
Jump to navigation Jump to search
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="background:#eee;margin-left: 1em; float:right; border-collapse:collapse;" border="1" cellpadding="5" rules="all"
+
{| style="color:white;border:thin solid #559;margin-left: 1em; float:right;background:#54b6dc" cellpadding="5" cellspacing="0"
 +
{{#if: {{{title|}}} |{{pipe1}}{{{title}}}|}}
 
|-
 
|-
!ISBN
+
|
|ISBN {{{ISBN}}}
+
{| style="color:black;background:#eefaff" border="0" cellpadding="2"
|-
+
{{#if: {{{author|}}} |{{pipe1}}Author{{pipe2}}{{{author}}}|}}
!Author  
+
{{#if: {{{ISBN|}}} |{{pipe1}}ISBN{{pipe2}}ISBN {{{ISBN}}}|}}
|{{{author}}}
+
{{#if: {{{pubdate|}}} |{{pipe1}}Published{{pipe2}}{{{pubdate}}}|}}
|-
+
{{#if: {{{pages|}}} |{{pipe1}}Pages{{pipe2}}{{{pages}}}|}}
!Pub Date
+
{{#if: {{{read|}}} |{{pipe1}}Date read{{pipe2}}{{{read}}}|}}
|{{{pubdate}}}
+
{{#if: {{{rate|}}} |{{pipe1}}[[Template:Ratings|Rating]]{{pipe2}}{{{rate}}}{{#if: {{{expect|}}} |/{{{expect}}}|}}|}}
|-
+
|}
!Pages
 
|{{{pages}}}
 
|-
 
!Read
 
|{{{read}}}
 
|-
 
![[Template:Ratings|Rating]]
 
|{{{rate}}}/{{{expect}}}
 
 
|}
 
|}
 
+
<noinclude>
<noinclude>[[Category:templates]]</noinclude>
+
''This template creates a book's info-box''
 +
[[Category:templates]]</noinclude>

Latest revision as of 23:07, 16 December 2006

This template creates a book's info-box