Tolkien Gateway

Template:Book

(Difference between revisions)
(Changed template to test a new layout system. Shall expand if all goes well)
m (Centred image, removed ridiculous "Publication information" header; tweaked ISBN thing)
Line 1: Line 1:
<includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 225px; border-collapse: collapse; font-size: 95%; clear: right;clear:right;"> {{t|1=<tr><th colspan="2" style="text-align: center; background:#B0C4DE; font-style: italic;">'''{{{title}}}'''</th></tr>|1{{{title|}}}=}} {{t|1=<tr><td colspan="2" style="font-size: 90%; font-weight: normal; padding: 0;">{{{image}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Author'''</small></td><td style="border-left: 0;"><small>{{{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 style="border-right: 0;"><small>'''Publisher'''</small></td><td style="border-left: 0;"><small>{{{publisher}}}</small></td></tr>|1{{{publisher|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Released'''</small></td><td style="border-left: 0;"><small>{{{date}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Format'''</small></td><td style="border-left: 0;"><small>{{{format}}}</small></td></tr>|1{{{format|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Pages'''</small></td><td style="border-left: 0;"><small>{{{pages}}}</small></td></tr>|1{{{pages|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''ISBN'''</small></td><td style="border-left: 0;"><small>ISBN {{{isbn}}}</small></td></tr>|1{{{isbn|}}}=}}</table></includeonly><noinclude>
+
<includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 225px; border-collapse: collapse; font-size: 95%; clear: right;clear:right;"> {{t|1=<tr><th colspan="2" style="text-align: center; background:#B0C4DE; font-style: italic;">'''{{{title}}}'''</th></tr>|1{{{title|}}}=}} {{t|1=<tr><td colspan="2" style="font-size: 90%; font-weight: normal; padding: 0; text-align:center;">{{{image}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Author'''</small></td><td style="border-left: 0;"><small>{{{author}}}</small></td></tr>|1{{{author|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Publisher'''</small></td><td style="border-left: 0;"><small>{{{publisher}}}</small></td></tr>|1{{{publisher|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Released'''</small></td><td style="border-left: 0;"><small>{{{date}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Format'''</small></td><td style="border-left: 0;"><small>{{{format}}}</small></td></tr>|1{{{format|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''Pages'''</small></td><td style="border-left: 0;"><small>{{{pages}}}</small></td></tr>|1{{{pages|}}}=}} {{t|1=<tr><td style="border-right: 0;"><small>'''ISBN'''</small></td><td style="border-left: 0;"><small>[[Special:BookSources/{{{isbn}}}|{{{isbn}}}</small></td></tr>|1{{{isbn|}}}=}}</table></includeonly><noinclude>
 
{{book
 
{{book
 
| title={{{title}}}
 
| title={{{title}}}

Revision as of 21:32, 14 August 2011

{{{title}}}
{{{image}}}
Author{{{author}}}
Publisher{{{publisher}}}
Released{{{date}}}
Format{{{format}}}
Pages{{{pages}}}
ISBN[[Special:BookSources/{{{isbn}}}|{{{isbn}}}]]

Usage

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