Difference between revisions of "Template:Bookheader"

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