Tolkien Gateway

Template:Book

(Difference between revisions)
m (Fixed link)
m (Added "Series", "Followed by" and "Preceded by". Tweaked vertical alignment)
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; 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>
+
<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; vertical-align: top;"><small>'''Author'''</small></td><td style="border-left: 0;"><small>{{{author}}}</small></td></tr>|1{{{author|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Publisher'''</small></td><td style="border-left: 0;"><small>{{{publisher}}}</small></td></tr>|1{{{publisher|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Released'''</small></td><td style="border-left: 0;"><small>{{{date}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Format'''</small></td><td style="border-left: 0;"><small>{{{format}}}</small></td></tr>|1{{{format|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Pages'''</small></td><td style="border-left: 0;"><small>{{{pages}}}</small></td></tr>|1{{{pages|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''ISBN'''</small></td><td style="border-left: 0;"><small>[[Special:BookSources/{{{isbn}}}|{{{isbn}}}]]</small></td></tr>|1{{{isbn|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Series'''</small></td><td style="border-left: 0;"><small>{{{series}}}</small></td></tr>|1{{{series|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Preceded by'''</small></td><td style="border-left: 0;"><small>{{{precededby}}}</small></td></tr>|1{{{precededby|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Followed by'''</small></td><td style="border-left: 0;"><small>{{{followedby}}}</small></td></tr>|1{{{followedby|}}}=}}</table></includeonly><noinclude>
 
{{book
 
{{book
 
| title={{{title}}}
 
| title={{{title}}}
Line 9: Line 9:
 
| pages={{{pages}}}
 
| pages={{{pages}}}
 
| isbn={{{isbn}}}
 
| isbn={{{isbn}}}
 +
| series={{{series}}}
 +
| precededby={{{precededby}}}
 +
| followedby={{{followedby}}}
 
}}
 
}}
 
==Usage==
 
==Usage==
Line 21: Line 24:
 
| pages=
 
| pages=
 
| isbn=
 
| isbn=
 +
| series=
 +
| precededby=
 +
| followedby=
 
}}
 
}}
 
</pre>[[Category:Infobox templates|{{PAGENAME}}]]
 
</pre>[[Category:Infobox templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 22:21, 14 August 2011

{{{title}}}
{{{image}}}
Author{{{author}}}
Publisher{{{publisher}}}
Released{{{date}}}
Format{{{format}}}
Pages{{{pages}}}
ISBN[[Special:BookSources/{{{isbn}}}|{{{isbn}}}]]
Series{{{series}}}
Preceded by{{{precededby}}}
Followed by{{{followedby}}}

Usage

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