Template:Infobox standard: Difference between revisions
From UtubeTrollPedia
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><table class="infobox | <includeonly><table class="infobox yt-retro-2008" style="width: 280px; text-align: left; font-size: 12px; line-height: 1.5em; | ||
background: {{#switch:{{{type|}}}|gold=linear-gradient(to bottom, #ffffff 0%, # | background: {{#switch:{{{type|}}}|gold=linear-gradient(to bottom, #ffffff 0%, #fff9d7 100%)|#ffffff}}; | ||
border: 1px solid {{#switch:{{{type|}}}|gold:#e2b622|#a5c2df}}; | |||
border: 1px solid {{#switch:{{{type|}}}|gold | border-radius: 4px; | ||
border-radius: | box-shadow: 0 1px 2px rgba(0,0,0,0.05); | ||
box-shadow: | padding: 6px; float: right; margin: 0.5em 0 1em 1em; border-collapse: separate; border-spacing: 0 5px; color: #000000; font-family: Arial, sans-serif;"> | ||
padding: | |||
<!-- | <!-- Authentic 2008 Title Bar Navigation Style --> | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align: left; font-size: | <th colspan="2" style="text-align: left; font-size: 13px; font-weight: bold; padding: 6px 10px; | ||
background: {{#switch:{{{type|}}}|gold=linear-gradient(to bottom, # | background: {{#switch:{{{type|}}}|gold=linear-gradient(to bottom, #ffea84 0%, #fbd130 100%)|linear-gradient(to bottom, #e4edf8 0%, #b9d2ed 100%)}}; | ||
border: 1px solid {{#switch:{{{type|}}}|gold | border: 1px solid {{#switch:{{{type|}}}|gold:#e2b622|#91b5da}}; | ||
border-radius: | border-radius: 4px 4px 0 0; | ||
color: {{#switch:{{{type|}}}|gold=# | color: {{#switch:{{{type|}}}|gold=#000000|#0033cc}}; | ||
text- | text-decoration: {{#switch:{{{type|}}}|gold=none|none}};">{{{name|{{PAGENAME}}}}}</th> | ||
</tr> | </tr> | ||
<!-- Styled | <!-- 2008 Video Thumbnail Styled Frame --> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align: center; padding: | <td colspan="2" style="text-align: center; padding: 4px 0;"> | ||
<div style="display: inline-block; padding: | <div style="display: inline-block; padding: 3px; background: #ffffff; border: 1px solid #cccccc; box-shadow: 0 1px 2px rgba(0,0,0,0.1);"> | ||
[[File:{{{image}}}|240px|alt={{{name|}}}]] | [[File:{{{image}}}|240px|alt={{{name|}}}]] | ||
</div> | </div> | ||
{{#if:{{{caption|}}}|<div style="font-size: 11px | {{#if:{{{caption|}}}|<div style="font-size: 11px; padding-top: 5px; text-align: center; color: #666666;">{{{caption}}}</div>}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 33: | Line 31: | ||
{{#if:{{{data1|}}}| | {{#if:{{{data1|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="padding: | <th scope="row" style="padding: 3px 6px; font-weight: bold; width: 35%; color: #666666; text-align: right; font-size: 11px; vertical-align: middle;">{{{label1|}}}:</th> | ||
<td style="padding: | <td style="padding: 3px 6px; width: 65%; color: #333333; font-weight: normal; vertical-align: middle;">{{{data1}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 41: | Line 39: | ||
{{#if:{{{data2|}}}| | {{#if:{{{data2|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="padding: | <th scope="row" style="padding: 3px 6px; font-weight: bold; width: 35%; color: #666666; text-align: right; font-size: 11px; vertical-align: middle;">{{{label2|}}}:</th> | ||
<td style="padding: | <td style="padding: 3px 6px; width: 65%; color: #333333; font-weight: normal; vertical-align: middle;">{{{data2}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- | <!-- 2008 Gray Content Module Header --> | ||
{{#if:{{{header3|}}}| | {{#if:{{{header3|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="background: | <th colspan="2" style="background: linear-gradient(to bottom, #f0f0f0 0%, #e4e4e4 100%); | ||
border: 1px solid | border: 1px solid #cccccc; | ||
border-radius: | border-radius: 2px; font-weight: bold; text-align: left; padding: 4px 8px; font-size: 11px; color: #444444; letter-spacing: 0.2px;">{{{header3}}}</th> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 59: | Line 56: | ||
{{#if:{{{data4|}}}| | {{#if:{{{data4|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="padding: | <th scope="row" style="padding: 3px 6px; font-weight: bold; width: 35%; color: #666666; text-align: right; font-size: 11px; vertical-align: middle;">{{{label4|}}}:</th> | ||
<td style="padding: | <td style="padding: 3px 6px; width: 65%; color: #333333; font-weight: normal; vertical-align: middle;">{{{data4}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 67: | Line 64: | ||
{{#if:{{{data5|}}}| | {{#if:{{{data5|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="padding: | <th scope="row" style="padding: 3px 6px; font-weight: bold; width: 35%; color: #666666; text-align: right; font-size: 11px; vertical-align: middle;">{{{label5|}}}:</th> | ||
<td style="padding: | <td style="padding: 3px 6px; width: 65%; color: #0033cc; font-weight: bold; vertical-align: middle;">{{{data5}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</table></includeonly> | </table></includeonly> | ||
