Difference between revisions of "Template:Bookheader"

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