Difference between revisions of "Template:Bookheader"

From Wikitheus
Jump to navigation Jump to search
m
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{ISBN|}}} | hello | where are you? }}
+
{| style="color:white;border:thin solid #559;margin-left: 1em; float:right;background:#54b6dc" cellpadding="5" cellspacing="0"
{{ #if:  {{{author|}}} | Auth is defined. | Auth is undefined, or empty  }}
+
{{#if: {{{title|}}} |{{pipe1}}{{{title}}}|}}
 
 
 
 
{| style="border:thin solid #777;margin-left: 1em; float:right; border-collapse:collapse;" rules="all"
 
 
|-
 
|-
 
|
 
|
{| style="background:#eee" border="0" cellpadding="5"  
+
{| style="color:black;background:#eefaff" border="0" cellpadding="2"  
{{#if: {{{ISBN|}}} |<tr><td>!ISBN</td><td>ISBN {{{ISBN}}}</td></tr>|}}
+
{{#if: {{{author|}}} |{{pipe1}}Author{{pipe2}}{{{author}}}|}}
|-
+
{{#if: {{{ISBN|}}} |{{pipe1}}ISBN{{pipe2}}ISBN {{{ISBN}}}|}}
!Author
+
{{#if: {{{pubdate|}}} |{{pipe1}}Published{{pipe2}}{{{pubdate}}}|}}
|{{{author}}}
+
{{#if: {{{pages|}}} |{{pipe1}}Pages{{pipe2}}{{{pages}}}|}}
|-
+
{{#if: {{{read|}}} |{{pipe1}}Date read{{pipe2}}{{{read}}}|}}
!Pub Date
+
{{#if: {{{rate|}}} |{{pipe1}}[[Template:Ratings|Rating]]{{pipe2}}{{{rate}}}{{#if: {{{expect|}}} |/{{{expect}}}|}}|}}
|{{{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