Template:Book: Difference between revisions

From Tolkien Gateway
m (Added noisbn)
mNo edit summary
Tag: Manual revert
 
(20 intermediate revisions by 4 users not shown)
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&nbsp;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&nbsp;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&nbsp;by'''</small></td><td style="border-left: 0; font-style: italic;"><small>{{{followedby}}}</small></td></tr>|1{{{followedby|}}}=}}</table></includeonly><noinclude>
<includeonly><table class="tginfobox" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 2em; 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&nbsp;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>'''Introduction&nbsp;by'''</small></td><td style="border-left: 0;"><small>{{{introduction}}}</small></td></tr>|1{{{introduction|}}}=}} {{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>'''Translator'''</small></td><td style="border-left: 0;"><small>{{{translator}}}</small></td></tr>|1{{{translator|}}}=}} {{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{{t|1=s|1{{{isbn2|}}}=}}'''</small></td><td style="border-left: 0;"><small>[[Special:BookSources/{{{isbn}}}|{{{isbn}}}]]{{t|1=<br/>[[Special:BookSources/{{{isbn2}}}|{{{isbn2}}}]]|1{{{isbn2|}}}=}}</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>'''ISSN'''</small></td><td style="border-left: 0;"><small>{{{issn}}}</small></td></tr>|1{{{issn|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''ICE&nbsp;stock&nbsp;no.'''</small></td><td style="border-left: 0;"><small>{{{ice}}}</small></td></tr>|1{{{ice|}}}=}} {{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&nbsp;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&nbsp;by'''</small></td><td style="border-left: 0; font-style: italic;"><small>{{{followedby}}}</small></td></tr>|1{{{followedby|}}}=}}{{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Re-usable&nbsp;in'''</small></td><td style="border-left: 0; font-style: italic;"><small>{{calendarlookup|{{{usablenext}}}}}</small></td></tr>|1{{{usablenext|}}}=}}</table></includeonly><noinclude>
{{book
{{book
| title={{{title}}}
| title={{{title}}}
Line 5: Line 5:
| author={{{author}}}
| author={{{author}}}
| foreword={{{foreword}}}
| foreword={{{foreword}}}
| introduction={{{introduction}}}
| editor={{{editor}}}
| editor={{{editor}}}
| contributors={{{contributors}}}
| contributors={{{contributors}}}
| translator={{{translator}}}
| illustrator={{{illustrator}}}
| illustrator={{{illustrator}}}
| publisher={{{publisher}}}
| publisher={{{publisher}}}
Line 17: Line 19:
| pages={{{pages}}}
| pages={{{pages}}}
| isbn={{{isbn}}}
| isbn={{{isbn}}}
| isbn2={{{isbn2}}}
| noisbn={{{noisbn}}}
| noisbn={{{noisbn}}}
| issn={{{issn}}}
| ice={{{ice}}}
| series={{{series}}}
| series={{{series}}}
| precededby={{{precededby}}}
| precededby={{{precededby}}}
| followedby={{{followedby}}}
| followedby={{{followedby}}}
| usablenext={{{usablenext}}}
}}
}}
==Usage==
==Usage - Short==
*Do not use {{{publisher}}} with both {{{publisherUK}}}/{{{publisherUS}}}.
<pre>
*Similarly, do not use {{{date}}} with both {{{dateUK}}}/{{{dateUS}}}.
{{book
*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}}}.
| title=
| image=
| author=
| editor=
| illustrator=
| publisher=
| date=
| format=
| pages=
| isbn=
}}
</pre>
==Usage - Expanded==
<pre>
<pre>
{{book
{{book
Line 32: Line 50:
| author=
| author=
| foreword=
| foreword=
| introduction=
| editor=
| editor=
| contributors=
| contributors=
| translator=
| illustrator=
| illustrator=
| publisher=
| publisher=
Line 44: Line 64:
| pages=
| pages=
| isbn=
| isbn=
| isbn2=
| noisbn=
| noisbn=
| issn=
| ice=
| series=
| series=
| precededby=
| precededby=
| followedby=
| followedby=
| usablenext
}}
}}
</pre>[[Category:Infobox templates|{{PAGENAME}}]]
</pre>
'''Publisher''': do not use {{{publisher}}} with both {{{publisherUK}}}/{{{publisherUS}}}.<br/>
'''Released date''': similarly, do not use {{{date}}} with both {{{dateUK}}}/{{{dateUS}}}.<br/>
'''ISBN:''' 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}}}.<br>
'''usablenext''' - Only to be used by calendar articles, which will indicate when they can be re-used
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 23:23, 5 June 2023

{{{title}}}
{{{image}}}
Author{{{author}}}
Foreword by{{{foreword}}}
Introduction by{{{introduction}}}
Editor{{{editor}}}
Contributors{{{contributors}}}
Translator{{{translator}}}
Illustrator{{{illustrator}}}
Publisher{{{publisher}}}
Publisher{{{publisherUK}}} (UK)
{{{publisherUS}}} (US)
Released{{{date}}}
Released{{{dateUK}}} (UK)
{{{dateUS}}} (US)
Format{{{format}}}
Pages{{{pages}}}
ISBNs[[Special:BookSources/{{{isbn}}}|{{{isbn}}}]]
[[Special:BookSources/{{{isbn2}}}|{{{isbn2}}}]]
ISBN{{{noisbn}}}
ISSN{{{issn}}}
ICE stock no.{{{ice}}}
Series{{{series}}}
Preceded by{{{precededby}}}
Followed by{{{followedby}}}
Re-usable in Year not found.

Usage - Short[edit source]

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

Usage - Expanded[edit source]

{{book
| title=
| image=
| author=
| foreword=
| introduction=
| editor=
| contributors=
| translator=
| illustrator=
| publisher=
| publisherUK=
| publisherUS=
| date=
| dateUK=
| dateUS=
| format=
| pages=
| isbn=
| isbn2=
| noisbn=
| issn=
| ice=
| series=
| precededby=
| followedby=
| usablenext
}}

Publisher: do not use {{{publisher}}} with both {{{publisherUK}}}/{{{publisherUS}}}.
Released date: similarly, do not use {{{date}}} with both {{{dateUK}}}/{{{dateUS}}}.
ISBN: 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}}}.
usablenext - Only to be used by calendar articles, which will indicate when they can be re-used