Template:Book: Difference between revisions
From Tolkien Gateway
m (Tweaked) |
m (Added noisbn) |
||
Line 1: | Line 1: | ||
<includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 227px; 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>'''Foreword by'''</small></td><td style="border-left: 0;"><small>{{{foreword}}}</small></td></tr>|1{{{foreword|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Editor'''</small></td><td style="border-left: 0;"><small>{{{editor}}}</small></td></tr>|1{{{editor|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Contributors'''</small></td><td style="border-left: 0;"><small>{{{contributors}}}</small></td></tr>|1{{{contributors|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Illustrator'''</small></td><td style="border-left: 0;"><small>{{{illustrator}}}</small></td></tr>|1{{{illustrator|}}}=}} {{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>'''Publisher'''</small></td><td style="border-left: 0;"><small>{{{publisherUK}}} (UK)<br/>{{{publisherUS}}} (US)</small></td></tr>|1{{{publisherUK|}}}{{{publisherUS|}}}=}} {{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>'''Released'''</small></td><td style="border-left: 0;"><small>{{{dateUK}}} (UK)<br/>{{{dateUS}}} (US)</small></td></tr>|1{{{dateUK|}}}{{{dateUS|}}}=}} {{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; font-style: italic;"><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; font-style: italic;"><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; font-style: italic;"><small>{{{followedby}}}</small></td></tr>|1{{{followedby|}}}=}}</table></includeonly><noinclude> | <includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 227px; 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>'''Foreword by'''</small></td><td style="border-left: 0;"><small>{{{foreword}}}</small></td></tr>|1{{{foreword|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Editor'''</small></td><td style="border-left: 0;"><small>{{{editor}}}</small></td></tr>|1{{{editor|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Contributors'''</small></td><td style="border-left: 0;"><small>{{{contributors}}}</small></td></tr>|1{{{contributors|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Illustrator'''</small></td><td style="border-left: 0;"><small>{{{illustrator}}}</small></td></tr>|1{{{illustrator|}}}=}} {{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>'''Publisher'''</small></td><td style="border-left: 0;"><small>{{{publisherUK}}} (UK)<br/>{{{publisherUS}}} (US)</small></td></tr>|1{{{publisherUK|}}}{{{publisherUS|}}}=}} {{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>'''Released'''</small></td><td style="border-left: 0;"><small>{{{dateUK}}} (UK)<br/>{{{dateUS}}} (US)</small></td></tr>|1{{{dateUK|}}}{{{dateUS|}}}=}} {{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>'''ISBN'''</small></td><td style="border-left: 0;"><small>{{{noisbn}}}</small></td></tr>|1{{{noisbn|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Series'''</small></td><td style="border-left: 0; font-style: italic;"><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; font-style: italic;"><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; font-style: italic;"><small>{{{followedby}}}</small></td></tr>|1{{{followedby|}}}=}}</table></includeonly><noinclude> | ||
{{book | {{book | ||
| title={{{title}}} | | title={{{title}}} | ||
Line 17: | Line 17: | ||
| pages={{{pages}}} | | pages={{{pages}}} | ||
| isbn={{{isbn}}} | | isbn={{{isbn}}} | ||
| noisbn={{{noisbn}}} | |||
| series={{{series}}} | | series={{{series}}} | ||
| precededby={{{precededby}}} | | precededby={{{precededby}}} | ||
Line 22: | Line 23: | ||
}} | }} | ||
==Usage== | ==Usage== | ||
*Do not use | *Do not use {{{publisher}}} with both {{{publisherUK}}}/{{{publisherUS}}}. | ||
*Similarly, do not use | *Similarly, do not use {{{date}}} with both {{{dateUK}}}/{{{dateUS}}}. | ||
*Only use {{{isbn}}} when you just want to enter a 10/13-digit ISBN. Any other non-numerical text - such as "N/A" or "Unknown" - should be put in {{{noisbn}}}. | |||
<pre> | <pre> | ||
{{book | {{book | ||
Line 42: | Line 44: | ||
| pages= | | pages= | ||
| isbn= | | isbn= | ||
| noisbn= | |||
| series= | | series= | ||
| precededby= | | precededby= |
Revision as of 17:12, 18 December 2011
{{{title}}} | |
---|---|
{{{image}}} | |
Author | {{{author}}} |
Foreword by | {{{foreword}}} |
Editor | {{{editor}}} |
Contributors | {{{contributors}}} |
Illustrator | {{{illustrator}}} |
Publisher | {{{publisher}}} |
Publisher | {{{publisherUK}}} (UK) {{{publisherUS}}} (US) |
Released | {{{date}}} |
Released | {{{dateUK}}} (UK) {{{dateUS}}} (US) |
Format | {{{format}}} |
Pages | {{{pages}}} |
ISBN | [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]] |
ISBN | {{{noisbn}}} |
Series | {{{series}}} |
Preceded by | {{{precededby}}} |
Followed by | {{{followedby}}} |
Usage
- Do not use {{{publisher}}} with both {{{publisherUK}}}/{{{publisherUS}}}.
- Similarly, do not use {{{date}}} with both {{{dateUK}}}/{{{dateUS}}}.
- Only use {{{isbn}}} when you just want to enter a 10/13-digit ISBN. Any other non-numerical text - such as "N/A" or "Unknown" - should be put in {{{noisbn}}}.
{{book | title= | image= | author= | foreword= | editor= | contributors= | illustrator= | publisher= | publisherUK= | publisherUS= | date= | dateUK= | dateUS= | format= | pages= | isbn= | noisbn= | series= | precededby= | followedby= }}