Template:Infobox book: Difference between revisions

mNo edit summary
(Fixing the space between the title and the first line. Thank you for bringing this up, Francoxamorreu!)
Line 1: Line 1:
<table cellspacing="0" cellpadding="4" style="width:245px; float:right; clear:right; margin:1em 0 1em 1em; border-style: solid; border-width: 1px; background-color: #f9f9f9; border-color: #aaaaaa;">
<includeonly>{{Main other|<!--{{Infobox film/short description|released={{{released|}}}|country={{{country|}}}|director={{{director|}}}}}-->}}{{Infobox
<tr>
| Italic title = {{{Italic title|<noinclude>no</noinclude>}}}
<td>
| bodyclass    = vcard
<table border="0" cellspacing="0" cellpadding="4" style="float:right; clear:right; border-style: none; background-color: #f9f9f9; border-color: #f9f9f9; font-size: 90%;">
 
<tr>
| aboveclass  = summary
<td colspan="2" style="width:227px; background-color:lavender; text-align:center"><b>{{ #if: {{{Title}}} | {{{Title}}} | {{PAGENAME}} }}</b></td>
| abovestyle  = font-size: 120%; font-style: italic;
</tr>
| above        = {{If empty |{{{Title|}}} |{{PAGENAMEBASE}} }}
{{#if: {{{Image|}}} |
 
<tr>
| captionstyle = padding: 4px;
<td colspan="2" style="text-align:center">[[File:{{{Image}}}|200px]]</td>
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size=220px|sizedefault=frameless|upright={{{Image upright|1}}}|alt={{{Alt|}}}|title={{{Alt|}}}}}
</tr>
| caption      = {{{Caption|}}}
}}
 
{{#if:{{{Caption|}}} |
| labelstyle  = white-space: nowrap; padding-right: 0.65em;<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->
<tr>
 
<td colspan="2" style="text-align:center">{{{Caption}}}</td>
| label1      = Original title:
</tr>
|  data1      = {{{Original title|}}}
}}
 
{{#if: {{{Original title|}}} |
| label2      = Author:
<tr>
|  data2      = {{{Author|}}}
<td style="vertical-align:top">'''Original title:'''</td>
 
<td>{{{Original title}}}</td>
| label3      = Translator:
</tr>
|  data3      = {{{Translator|}}}
}}
 
{{#if: {{{Author|}}} |
| label4      = Illustrator:
<tr>
|  data4      = {{{Illustrator|}}}
<td style="vertical-align:top">'''Author:'''</td>
 
<td>{{{Author}}}</td>
| label5      = Cover design:
</tr>
|  data5      = {{{Cover design|}}}
}}
 
{{#if: {{{Translator|}}} |
| label6      = Genre:
<tr>
|  data6      = {{{Genre|}}}
<td style="vertical-align:top">'''Translator:'''</td>
 
<td>{{{Translator}}}</td>
| label7      = Publisher:
</tr>
|  data7      = {{{Publisher|}}}
}}
 
{{#if: {{{Illustrator|}}} |
| label8      = Release date:
<tr>
|  data8      = {{{Release date|}}}
<td style="vertical-align:top">'''Illustrator:'''</td>
 
<td>{{{Illustrator}}}</td>
| label9      = Binding:
</tr>
|  data9      = {{{Binding|}}}
}}
 
{{#if: {{{Cover design|}}} |
| label10      = Pages:
<tr>
|  data10      = {{{Pages|}}}
<td style="vertical-align:top">'''Cover design:'''</td>
 
<td>{{{Cover design}}}</td>
| label11      = Dimensions:
</tr>
|  data11      = {{{Dimensions|}}}
}}
 
{{#if: {{{Genre|}}} |
| label12      = Weight:
<tr>
| data12      = {{{Weight|}}}
<td style="vertical-align:top">'''Genre:'''</td>
 
<td>{{{Genre}}}</td>
| label13      = Language:
</tr>
| data13      = {{{Language|}}}
}}
 
{{#if: {{{Publisher|}}} |
| label14      = Country:
<tr>
| data14      = {{{Country|}}}
<td style="vertical-align:top">'''Publisher:'''</td>
 
<td>{{{Publisher}}}</td>
| label15      = ISBN:
</tr>
| data15      = {{{ISBN|}}}
}}
 
{{#if: {{{Release date|}}} |
| belowstyle  = padding: 10px;
<tr>
| below        = {{#if: {{{Mail-order|}}} | <div style="margin-top:8px">{{{Mail-order}}}</div>}}{{#if: {{{Website|}}} | <div align="center" style="margin-top:8px"><b>[{{{Website}}} Official website]</b></div>}}{{#if: {{{Website AVS|}}} | <div align="center" style="display:none" class="user-show" style="margin-top:8px"><b>[{{{Website AVS}}} Official website]</b></div>}}{{#if:{{{Blogger|}}} {{{Blogger AVS|}}} {{{Dailymotion|}}} {{{Facebook|}}} {{{Fansly|}}} {{{MySpace|}}} {{{OnlyFans|}}} {{{Pinterest|}}} {{{RSS|}}} {{{Telegram|}}} {{{Telegram AVS|}}} {{{TikTok|}}} {{{Tumblr|}}} {{{Tumblr AVS|}}} {{{Twitter|}}} {{{Twitter AVS|}}} {{{YouTube|}}}|{{Social media links| Blogger = {{{Blogger|}}}| Blogger AVS = {{{Blogger AVS|}}}| Dailymotion = {{{Dailymotion|}}}| Facebook = {{{Facebook|}}}| Fansly = {{{Fansly|}}}| Instagram = {{{Instagram|}}}| MySpace = {{{MySpace|}}}| OnlyFans = {{{OnlyFans|}}}| Pinterest = {{{Pinterest|}}}| RSS = {{{RSS|}}}| Telegram = {{{Telegram|}}}| Telegram AVS = {{{Telegram AVS|}}}| TikTok = {{{TikTok|}}}| Tumblr = {{{Tumblr|}}}| Tumblr AVS = {{{Tumblr AVS|}}}| Twitter = {{{Twitter|}}}| Twitter AVS = {{{Twitter AVS|}}}| YouTube = {{{YouTube|}}}}}|}}
<td style="vertical-align:top">'''Release date:'''</td>
 
<td>{{{Release date}}}</td>
}}<!-- Tracking categories
</tr>
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox film with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[:Template:Infobox film]] with unknown parameter "_VALUE_"|showblankpositional=1| Alt | Author | Binding | Blogger | Blogger AVS | Budget | Caption | Cinematography | Country | Cover design | Dailymotion | Dimensions | Facebook | Fansly | Filming location | Genre | Illustrator | Image | Image upright | ISBN | Italic title | Language | Mail-order | MySpace | OnlyFans | Original title | Pages | Pinterest | Publisher | Release date | RSS | Telegram | Telegram AVS | TikTok | Title | Translator | Tumblr | Tumblr AVS | Twitter | Twitter AVS | Website | Website AVS | Weight | YouTube }}<!--
}}
--><!--{{#invoke:Check for deprecated parameters|check
{{#if: {{{Binding|}}} |
| category = [[Category:Pages using infobox film with deprecated parameters|_VALUE_{{PAGENAME}}]]
<tr>
| directors = director
<td style="vertical-align:top">'''Binding:'''</td>
| distributors = distributor
<td>{{{Binding}}}</td>
| narrators = narrator
</tr>
| producers = producer
}}
| writers = writer
{{#if: {{{Pages|}}} |
}}--><!--
<tr>
--></includeonly><noinclude>
<td style="vertical-align:top">'''Pages:'''</td>
<td>{{{Pages}}}</td>
</tr>
}}
{{#if: {{{Dimensions|}}} |
<tr>
<td style="vertical-align:top">'''Dimensions:'''</td>
<td>{{{Dimensions}}}</td>
</tr>
}}
{{#if: {{{Weight|}}} |
<tr>
<td style="vertical-align:top">'''Weight:'''</td>
<td>{{{Weight}}}</td>
</tr>
}}
{{#if: {{{Language|}}} |
<tr>
<td style="vertical-align:top">'''Language:'''</td>
<td>{{{Language}}}</td>
</tr>
}}
{{#if: {{{Country|}}} |
<tr>
<td style="vertical-align:top">'''Country:'''</td>
<td>{{{Land}}}</td>
</tr>
}}
{{#if: {{{ISBN|}}} |
<tr>
<td style="vertical-align:top">'''ISBN:'''</td>
<td>{{{ISBN}}}</td>
</tr>
}}
{{#if: {{{Mail-order|}}} |
<tr>
<td style="vertical-align:top" colspan="2" align="center">'''{{{Mail-order}}}'''</td>
</tr>
}}
{{#if: {{{Website|}}} |
<tr>
<td style="vertical-align:top" colspan="2" align="center">'''[{{{Website}}} Offizielle Website]'''</td>
</tr>
}}
</table>
<table align="right" border="0" cellpadding="0" cellspacing="0" style="background-color: #f9f9f9">
<tr>
{{#if: {{{Blogger|}}} |
<td> &nbsp;{{#tag:blogger |{{{Blogger}}}}}</td>
}}
{{#if: {{{Dailymotion|}}} |
<td> &nbsp;{{#tag:dailymotion |{{{Dailymotion}}}}}</td>
}}
{{#if: {{{Facebook|}}} |
<td> &nbsp;{{#tag:facebook |{{{Facebook}}}}}</td>
}}
{{#if: {{{MySpace|}}} |
<td> &nbsp;{{#tag:myspace |{{{MySpace}}}}}</td>
}}
{{#if: {{{RSS|}}} |
<td> &nbsp;{{#tag:rss |{{{RSS}}}}}</td>
}}
{{#if: {{{Twitter|}}} |
<td> &nbsp;{{#tag:twitter |{{{Twitter}}}}}</td>
}}
{{#if: {{{YouTube|}}} |
<td> &nbsp;{{#tag:youtubelink |{{{YouTube}}}}}</td>
}}
</tr>
</table>
</td>
</tr>
</table>
<noinclude>
{| style="float: left; background: transparent;"
{| style="float: left; background: transparent;"
|<pre>
|<pre>
Line 179: Line 105:
|}
|}
<br clear="all"/>
<br clear="all"/>
{{Documentation}}
{{Wikipedia}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>