Difference between revisions of "Template:BookInfo"

From IntactiWiki
Jump to navigation Jump to search
m (added <Date> and <Editor> fields)
m (added <Translator>; moved <Title> and <Subtitle> to top)
Line 2: Line 2:
 
{| class="wikitable"
 
{| class="wikitable"
 
|+Book Data
 
|+Book Data
{{#if:{{{Author|}}}|<tr><td align='right'>Author</td><td align='left'>'''{{{Author}}}'''</td></tr>}}
 
 
|align="right"|Title
 
|align="right"|Title
 
|<span style="font-variant:small-caps;">'''{{{Title}}}'''</span>
 
|<span style="font-variant:small-caps;">'''{{{Title}}}'''</span>
 
{{#if:{{{Subtitle|}}}|<tr><td align='right'>Subtitle</td><td align='left'><span style="font-variant:small-caps;">'''{{{Subtitle}}}'''</span></td></tr>}}
 
{{#if:{{{Subtitle|}}}|<tr><td align='right'>Subtitle</td><td align='left'><span style="font-variant:small-caps;">'''{{{Subtitle}}}'''</span></td></tr>}}
 +
{{#if:{{{Author|}}}|<tr><td align='right'>Author</td><td align='left'>'''{{{Author}}}'''</td></tr>}}
 +
{{#if:{{{Publisher|}}}|<tr align='right'><td>Publisher</td><td align='left'>'''{{{Publisher}}}'''</td></tr>}}
 +
{{#if:{{{Translator|}}}|<tr align='right'><td>Translator</td><td align='left'>'''{{{Translator}}}'''</td></tr>}}
 
{{#if:{{{Pages |}}}|<tr align='right'><td>Pages </td><td align='left'>'''{{{Pages }}}'''</td></tr>}}
 
{{#if:{{{Pages |}}}|<tr align='right'><td>Pages </td><td align='left'>'''{{{Pages }}}'''</td></tr>}}
 
{{#if:{{{Format|}}}|<tr align='right'><td>Format</td><td align='left'>'''{{{Format}}}'''</td></tr>}}
 
{{#if:{{{Format|}}}|<tr align='right'><td>Format</td><td align='left'>'''{{{Format}}}'''</td></tr>}}
Line 12: Line 14:
 
{{#if:{{{Editor|}}}|<tr align='right'><td>Editor</td><td align='left'>'''{{{Editor}}}'''</td></tr>}}
 
{{#if:{{{Editor|}}}|<tr align='right'><td>Editor</td><td align='left'>'''{{{Editor}}}'''</td></tr>}}
 
{{#if:{{{FirstEdition|}}}|<tr align='right'><td>First Edition</td><td align='left'>'''{{{FirstEdition}}}'''</td></tr>}}
 
{{#if:{{{FirstEdition|}}}|<tr align='right'><td>First Edition</td><td align='left'>'''{{{FirstEdition}}}'''</td></tr>}}
{{#if:{{{Publisher|}}}|<tr align='right'><td>Publisher</td><td align='left'>'''{{{Publisher}}}'''</td></tr>}}
 
 
{{#if:{{{ISBN|}}}|<tr align='right'><td>[[ISBN]]</td><td align='left'>'''{{ISBN|{{{ISBN}}}}}'''</td></tr>}}
 
{{#if:{{{ISBN|}}}|<tr align='right'><td>[[ISBN]]</td><td align='left'>'''{{ISBN|{{{ISBN}}}}}'''</td></tr>}}
 
{{#if:{{{ASIN|}}}|<tr align='right'><td>ASIN</td><td align='left'>'''{{{ASIN}}}'''</td></tr>}}
 
{{#if:{{{ASIN|}}}|<tr align='right'><td>ASIN</td><td align='left'>'''{{{ASIN}}}'''</td></tr>}}
 
|}</div></includeonly><noinclude>{{Template:BookInfo/Docu}}[[de:Vorlage:BuchInfo]]</noinclude>
 
|}</div></includeonly><noinclude>{{Template:BookInfo/Docu}}[[de:Vorlage:BuchInfo]]</noinclude>

Revision as of 14:29, 7 September 2021

Example

Book Data
Title Circumcision: The Painful Dilemma
AuthorRosemary Romberg
PublisherKDP
Pages 579
Format9 x 6 x 1.3 inches
Edition2
Date2021-03-27
EditorUlf Dunkel
First Edition1985
ISBN979-8683021252

Master copy

Long form:

{{BookInfo
|Author=
|Title=
|Subtitle=
|Pages=
|Format=
|Edition=
|Editor=
|Date=
|FirstEdition=
|Publisher=
|ISBN=
|ASIN=
}}

Often the following short form is sufficient:

{{BookInfo
|Author=
|Title=
|Edition=
|ISBN=
}}

See also