Template:Infobox award: Difference between revisions

Till Kraemer (talk | contribs)
Created page with "<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;"> <tr> <td> <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> <td colspan="2" style="width:227px; background-color:lavender; text-align:center"><b>{{ #i..."
 
Till Kraemer (talk | contribs)
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>{{Infobox
<tr>
| bodyclass    = vevent
<td>
 
<table border="0" cellspacing="0" cellpadding="4" style="float:right; clear:right; border-style: none; background-color: #f9f9f9; border-color: #f9f9f9; font-size: 90%;">
| aboveclass  = summary
<tr>
| abovestyle  = font-size: 120%;
<td colspan="2" style="width:227px; background-color:lavender; text-align:center"><b>{{ #if: {{{Name}}} | {{{Name}}} | {{PAGENAME}} }}</b></td>
| above        = {{If empty |{{{Name|}}} |{{PAGENAMEBASE}} }}
</tr>
 
{{#if: {{{Image|}}} |
| captionstyle = padding: 4px;
<tr>
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size=220px|sizedefault=frameless|upright={{{Image upright|1}}}|alt={{{Alt|}}}|title={{{Alt|}}}}}{{#if: {{{Image|}}} | | [[Category:Image needed]] }}
<td colspan="2" style="text-align:center">[[Image:{{{Image}}}|200px]]</td>
 
</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:left">{{{Caption}}}</td>
| label1      = Current awards:
</tr>
|  data1      = {{{Current awards|}}}
}}
 
{{#if: {{{Current awards|}}} |
| label2      = Awarded for:
<tr>
|  data2      = {{{Awarded for|}}}
<td style="vertical-align:top">'''Current awards:'''</td>
 
<td>{{{Current awards}}}</td>
| label3      = Location:
</tr>
|  data3      = {{{Location|}}}
}}
 
{{#if: {{{Awarded for|}}} |
| label4      = Country:
<tr>
|  data4      = {{{Country|}}}
<td style="vertical-align:top">'''Awarded for:'''</td>
 
<td>{{{Awarded for}}}</td>
| label5      = Presented by:
</tr>
|  data5      = {{{Presented by|}}}
}}
 
{{#if: {{{Location|}}} |
| label6      = First awarded:
<tr>
|  data6      = {{{First awarded|}}}
<td style="vertical-align:top">'''Location:'''</td>
 
<td>{{{Location}}}</td>
| belowstyle  = padding: 10px;
</tr>
| below        = {{#if: {{{Download|}}} | <div style="margin-top:8px">{{{Download}}}</div>}}{{#if: {{{DVD|}}} | <div style="margin-top:8px">{{{DVD}}}</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|}}}}}|}}
}}
 
{{#if: {{{Country|}}} |
}}<!-- 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 studio]] with unknown parameter "_VALUE_"|showblankpositional=1| Alt | Awarded for | Blogger | Blogger AVS | Caption | Country | Current awards | DVD | Dailymotion | Download | Facebook | Fansly | First awarded |  Image | Image upright | Instagram | Location | MySpace | Name | OnlyFans | Pinterest | Presented by | RSS | Telegram | Telegram AVS | TikTok | Tumblr | Tumblr AVS | Twitter | Twitter AVS | Website | Website AVS | YouTube }}<!--
<td style="vertical-align:top">'''Country:'''</td>
--><!--{{#invoke:Check for deprecated parameters|check
<td>{{{Country}}}</td>
| category = [[Category:Pages using infobox film with deprecated parameters|_VALUE_{{PAGENAME}}]]
</tr>
| directors = director
}}
| distributors = distributor
{{#if: {{{Presented by|}}} |
| narrators = narrator
<tr>
| producers = producer
<td style="vertical-align:top">'''Presented by:'''</td>
| writers = writer
<td>{{{Presented by}}}</td>
}}--><!--
</tr>
--></includeonly><noinclude>
}}
{{#if: {{{First awarded|}}} |
<tr>
<td style="vertical-align:top">'''First awarded:'''</td>
<td>{{{First awarded}}}</td>
</tr>
}}
{{#if: {{{Website|}}} |
<tr>
<td style="vertical-align:top" colspan="2" align="center">'''[{{{Website}}} Official 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: {{{Instagram|}}} |
<td> &nbsp;{{#tag:instagram|{{{Instagram}}}}}</td>
}}
{{#if: {{{MySpace|}}} |
<td> &nbsp;{{#tag:myspace |{{{MySpace}}}}}</td>
}}
{{#if: {{{Pinterest|}}} |
<td> &nbsp;{{#tag:pinterest |{{{Pinterest}}}}}</td>
}}
{{#if: {{{RSS|}}} |
<td> &nbsp;{{#tag:rss |{{{RSS}}}}}</td>
}}
{{#if: {{{Tumblr|}}} |
<td> &nbsp;{{#tag:tumblr |{{{Tumblr}}}}}</td>
}}
{{#if: {{{Twitter|}}} |
<td> &nbsp;{{#tag:twitter |{{{Twitter}}}}}</td>
}}
{{#if: {{{Twitter AVS|}}} |<td><div style="display:none" class="user-show"><table border="0" cellpadding="0" cellspacing="0" ><tr><td> &nbsp;{{#tag:twitter |{{{Twitter AVS}}}}}</td></tr></table></div></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 123: Line 71:
|}
|}
<br clear="all"/>
<br clear="all"/>
{{Wikipedia|Template:Infobox_award|Template:Infobox award}}
{{Documentation}}


[[Category:Templates]]
[[Category:Templates]]
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>