Tolkien Gateway

Template:Book

(Difference between revisions)
(Added default blanking)
Line 1: Line 1:
{| class="toccolours" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 225px; border-collapse: collapse; font-size: 95%; clear: right;"
+
<includeonly><table class="toccolours" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 225px; border-collapse: collapse; font-size: 95%; clear: right;"> {{t|1=<tr><th colspan="2" style="text-align: center; background:#B0C4DE">'''{{{title}}}'''</th></tr>|1{{{title|}}}=}} {{t|1=<tr><td colspan="2" style="font-size: 90%; text-align: center;">{{{image}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Author''': {{{author}}}</small></td></tr>|1{{{author|}}}=}} {{t|1=<tr><th colspan="2" style="text-align: center; background:#B0C4DE">'''Publication information:'''</th></tr>|1{{{publisher|}}}{{{date|}}}{{{format|}}}{{{pages|}}}{{{isbn|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Publisher''': {{{publisher}}}</small></td></tr>|1{{{publisher|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Released''': {{{date}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Format''': {{{format}}}</small></td></tr>|1{{{format|}}}=}} {{t|1=<tr><td colspan="2"><small>'''Pages''': {{{pages}}}</small></td></tr>|1{{{pages|}}}=}} {{t|1=<tr><td colspan="2"><small>'''ISBN''': ISBN {{{isbn}}}</small></td></tr>|1{{{isbn|}}}=}}</table></includeonly><noinclude>
|-
+
!colspan="2" style="text-align: center; background:#B0C4DE"|'''{{{title}}}'''
+
|-
+
|colspan="2" style="font-size: 90%; text-align: center;"|{{{image}}}
+
|-
+
| colspan="2" |<small>'''Author''': {{{author}}}</small>
+
|-
+
!colspan="2" style="text-align: center; background:#B0C4DE"|'''Publication information:'''
+
|-
+
| colspan="2" |<small>'''Publisher''': {{{publisher}}}</small>
+
|-
+
| colspan="2" |<small>'''Released''': {{{date}}}</small>
+
|-
+
| colspan="2" |<small>'''Format''': {{{format}}}</small>
+
|-
+
| colspan="2" |<small>'''Pages''': {{{pages}}}</small>
+
|-
+
| colspan="2" |<small>'''ISBN''': ISBN {{{isbn}}}</small>
+
|-
+
|}<noinclude>
+
 
{{clear}}
 
{{clear}}
 +
<table class="toccolours" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 225px; border-collapse: collapse; font-size: 95%; clear: right;">
 +
<tr><th colspan="2" style="text-align: center; background:#B0C4DE">'''{{{title}}}'''</th></tr>
 +
<tr><td colspan="2" style="font-size: 90%; text-align: center;">{{{image}}}</td></tr>
 +
<tr><td colspan="2"><small>'''Author''': {{{author}}}</small></td></tr>
 +
<tr><th colspan="2" style="text-align: center; background:#B0C4DE">'''Publication information:'''</th></tr>
 +
<tr><td colspan="2"><small>'''Publisher''': {{{publisher}}}</small></td></tr>
 +
<tr><td colspan="2"><small>'''Released''': {{{date}}}</small></td></tr>
 +
<tr><td colspan="2"><small>'''Format''': {{{format}}}</small></td></tr>
 +
<tr><td colspan="2"><small>'''Pages''': {{{pages}}}</small></td></tr>
 +
<tr><td colspan="2"><small>'''ISBN''': ISBN {{{isbn}}}</small></td></tr></table>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 33: Line 23:
 
|pages=
 
|pages=
 
|}}
 
|}}
</pre>[[Category:Infobox templates|Book]]
+
</pre>[[Category:Infobox templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 18:09, 10 August 2010

{{{title}}}
{{{image}}}
Author: {{{author}}}
Publication information:
Publisher: {{{publisher}}}
Released: {{{date}}}
Format: {{{format}}}
Pages: {{{pages}}}
ISBN: ISBN {{{isbn}}}

Usage

{{book
|title=
|image=
|author=
|isbn=
|publisher=
|date=
|format=
|pages=
|}}