Jump to content

Template:Infobox album: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Per edit request on talk page
Per editrequest on talk page
Line 1: Line 1:
{{infobox
<includeonly><table class="infobox vevent" style="width: 20em;">
| bodyclass = vevent
<tr>
<th colspan="3" scope="col" class="summary" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}}}}}};">{{#if:{{{Name|}}}|''{{{Name}}}''|Untitled}}</th>
| abovestyle = font-style: italic; background-color: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}} }} }}
| above = {{#if:{{{Name|}}}|{{{Name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}
</tr>
| image = {{#if:{{{Cover|}}}|[[Image:{{#ifeq:{{{Cover}}}|???|Nocover.png|{{{Cover}}} }}|{{min|200|{{{Cover size|}}}}}px|alt={{{Alt|}}}|{{#ifeq:{{{Border|}}}|yes|border}}]]}}
{{#ifeq:{{{Cover size|}}}|0||
| caption = {{{Caption|}}}
<tr>
| headerstyle = background-color: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}}}}}}
<td colspan="3" style="text-align: center;">{{#if:{{{Cover|}}}|[[Image:{{{Cover}}}|{{min|200|{{{Cover size|}}}}}px|alt={{{Alt|}}}|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{{Name}}} cover]]
| headerclass = description
| header1 = {{Template:Infobox Album/link|{{{Type|}}} }}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by {{{Artist}}} }}
| label2 = Released
| data2 = {{{Released|}}}
| label3 = Recorded
| data3 = {{{Recorded|}}}
| label4 = [[Music genre|Genre]]
| data4 = {{{Genre|}}}
| label5 = Length
| data5 = {{{Length|}}}
| label6 = Language
| data6 = {{{Language|}}}
| label7 = [[Record label|Label]]
| data7 = {{{Label|}}}
| label8 = [[Film director|Director]]
| data8 = {{{Director|}}}
| label9 = [[Record producer|Producer]]
| data9 = {{{Producer|}}}
| label10 = Compiler
| data10 = {{{Compiler|}}}
| header11 = {{#if:{{{Reviews|}}}|Professional reviews}}
| data12 = {{#if:{{{Reviews|}}}|<div style="text-align: left; padding: 0; margin: 0">
{{{Reviews|}}}
</div>
}}
}}
| header13 = {{#if:{{{Last album|}}}{{{Next album|}}}|{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Type|}}}|video|&#32;video}}&#32;chronology }}
{{#if:{{{Caption|}}}|<div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
| data14 = {{#if:{{{Last album|}}}{{{Next album|}}}|<span />
{{{!}} style="width:100%; text-align: center; font-size: 0.8em; line-height: 1.4em; vertical-align: top"
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0" {{!}} {{{Last album|}}}
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0.1em" {{!}} {{{This album|}}}
{{!}} style="width: 33%; padding: 0.2em 0 0.2em 0.1em" {{!}} {{{Next album|}}}
{{!}}}
}}
}}

</td>
| below = {{{Misc|}}}
</tr>

}}
}}{{#if:{{NAMESPACE}}||{{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}|Test}}|Test|[[Category:Album articles with non-standard infoboxes]]}}{{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|[[Category:Album articles with non-standard infoboxes]][[Category:Song articles needing single infobox conversion]]}} }}<noinclude>{{#ifeq:{{FULLPAGENAME}}|Template:Infobox Album|{{pp-template|small=yes}}}}{{doc}}<!-- add categories and interwikis to the /doc subpage, not here --></noinclude>
<tr>
<th colspan="3" scope="col" class="description" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}}}}}};">{{Template:Infobox Album/link|{{{Type}}}}}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}</th>
</tr>
{{#if:{{{Released|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">Released</th>
<td colspan="2" style="width: 14em;">{{{Released}}}</td>
</tr>
}}
{{#if:{{{Recorded|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">Recorded</th>
<td colspan="2" style="width: 14em;">{{{Recorded}}}</td>
</tr>
}}
{{#if:{{{Genre|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">[[Music genre|Genre]]</th>
<td colspan="2" style="width: 14em;">{{{Genre}}}</td>
</tr>
}}
{{#if:{{{Length|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">Length</th>
<td colspan="2" style="width: 14em;">{{{Length}}}</td>
</tr>
}}
{{#if:{{{Language|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">Language</th>
<td colspan="2" style="width: 14em;">{{{Language}}}</td>
</tr>
}}
{{#if:{{{Label|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">[[Record label|Label]]</th>
<td colspan="2" style="width: 14em;">{{{Label}}}</td>
</tr>
}}
{{#ifeq:{{{Type|}}}|video|
{{#if:{{{Director|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">[[Film director|Director]]</th>
<td colspan="2" style="width: 14em;">{{{Director}}}</td>
</tr>
}}
}}
{{#if:{{{Producer|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">[[Record producer|Producer]]</th>
<td colspan="2" style="width: 14em;">{{{Producer}}}</td>
</tr>
}}
{{#if:{{{Compiler|}}}|
<tr>
<th scope="row" style="width: 5.2em; text-align: left;">Compiler</th>
<td colspan="2" style="width: 14em;">{{{Compiler}}}</td>
</tr>
}}
{{#if:{{{Reviews|}}}|
<tr>
<th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}}}}}};">Professional reviews</th>
</tr>
<tr>
<td colspan="3">
{{{Reviews}}}
</td>
</tr>
}}
{{#if:{{{Last album|}}}{{{Next album|}}}|
<tr>
<th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Type|}}}}}}};">{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Type|}}}|video|&#32;video}}&#32;chronology</th>
</tr>
<tr>
<td colspan="3">
<table cellspacing="0" cellpadding="0" width="100%" style="background: transparent;">
<tr style="text-align: center; font-size: 0.8em; line-height: 1.4em;">
<td style="width: 33%; vertical-align: top; padding: 0.2em 0.1em 0.2em 0;">{{{Last album|}}}</td>
<td style="width: 33%; vertical-align: top; padding: 0.2em 0.1em 0.2em 0.1em;">{{{This album|}}}</td>
<td style="width: 33%; vertical-align: top; padding: 0.2em 0 0.2em 0.1em;">{{{Next album|}}}</td>
</tr>
</table>
</td>
</tr>
}}
{{{Misc|}}}
</table>{{#if:{{NAMESPACE}}||{{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}|Test}}|Test|[[Category:Album articles with non-standard infoboxes]]}}{{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|[[Category:Album articles with non-standard infoboxes]][[Category:Song articles needing single infobox conversion]]}}}}</includeonly><noinclude>
{{#ifeq:{{FULLPAGENAME}}|Template:Infobox Album/sandbox|{{Template sandbox notice}}|{{documentation}}}}
{{#ifeq:{{FULLPAGENAME}}|Template:Infobox Album|{{pp-template|small=yes}}}}<!--
Do not remove "Category:Album articles with non-standard infoboxes" from the template. Before doing so, please discuss at WikiProject Albums. And add categories and interwikis to the /doc subpage, not here! Thanks.
--></noinclude>

Revision as of 22:03, 18 July 2009