Template:Infobox

From Iwe

(Difference between revisions)
Line 1: Line 1:
-
{{infobox
+
{{Infobox
-
| bodyclass   = vevent haudio
+
| bodyclass = vevent
-
| aboveclass = summary album
+
| aboveclass = summary
-
| abovestyle = font-style: italic; background-color: {{#ifeq:{{Template:Infobox album/color|{{{Type|}}}}}|{{Template:Infobox album/color}}|{{Template:Infobox album/color|{{{Type|}}} }} }}
+
| abovestyle = background-color:#F0E68C
-
| above       = {{#if:{{{Name|}}}|{{{Name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}
+
| above     = "{{{Name<includeonly>|{{PAGENAME}}</includeonly>}}}"
-
| image       = {{#if:{{{Cover|}}}|[[Image:{{#ifeq:{{{Cover}}}|???|Nocover.png|{{{Cover}}} }}|{{min|200|{{{Cover size|}}}}}px|alt={{{Alt|}}}|{{#ifeq:{{{Border|}}}|yes|border}}]]}}
+
 
-
| caption     = {{{Caption|}}}
+
| image     = {{#if:{{{Cover|}}}|[[File:{{{Cover}}}|frameless|alt={{{Alt|}}}|{{#ifeq:{{{Border|}}}|yes|border}}]]}}
-
| headerstyle = background-color: {{#ifeq:{{Template:Infobox album/color|{{{Type|}}}}}|{{Template:Infobox album/color}}|{{Template:Infobox album/color|{{{Type|}}}}}}}
+
| caption   = {{{Caption|}}}
 +
 
 +
| headerstyle = background-color:#F0E68C
| headerclass = description
| headerclass = description
-
| header1     = {{Template:Infobox album/link|{{{Type|}}} }}{{#if:{{{Longtype|}}}|&#32;{{{Longtype}}}}}{{#if:{{{Artist|}}}|&#32;by <span class="contributor">{{{Artist}}}</span> }}
+
 
-
| label2  = Released
+
| rowclass1= description
-
| data2  = {{{Released|}}}
+
| header1 = [[Single (music)|Single]]&nbsp;by {{{Artist}}}
-
| class2 = published
+
| rowclass2= description
-
| label3  = Recorded
+
| header2= {{#if:{{{Album|}}}{{{from Album|}}}|from the album ''{{{Album|}}}{{{from Album|}}}''}}
-
| data3  = {{{Recorded|}}}
+
| label3 = [[A-side and B-side|A-side]]
-
| label4 = [[Music genre|Genre]]
+
| data3 = {{{A-side|}}}
-
| data4   = {{{Genre|}}}
+
| label4 = [[A-side and B-side|B-side]]
-
| class4  = category
+
| data4 = {{{B-side|}}}
-
| label5 = Length
+
| label5 = Released
-
| data5   = {{{Length|}}}
+
| data5 = {{{Released|}}}
-
| label6 = Language
+
| label6 = Format
-
| data6   = {{{Language|}}}
+
| data6 = {{{Format|}}}
-
| class6  = category
+
| label7 = Recorded
-
| label7 = [[Record label|Label]]
+
| data7 = {{{Recorded|}}}
-
| data7   = {{{Label|}}}
+
| label8 = [[Music genre|Genre]]
-
| label8 = [[Film director|Director]]
+
| data8 = {{{Genre|}}}
-
| data8   = {{{Director|}}}
+
| label9 = Length
-
| label9 = [[Record producer|Producer]]
+
| data9 = {{{Length|}}}
-
| data9   = {{{Producer|}}}
+
| label10= [[Record label|Label]]
-
| label10 = Compiler
+
| data10 = {{{Label|}}}
-
| data10 = {{{Compiler|}}}
+
| label11= [[Songwriter|Writer(s)]]
-
| header11  = {{#if:{{{Reviews|}}}|Professional reviews}}
+
| data11 = {{{Writer|}}}
-
| data12 = {{#if:{{{Reviews|}}}|<div style="text-align: left; padding: 0; margin: 0">
+
| label12= [[Record producer|Producer]]
-
{{{Reviews|}}}
+
| data12 = {{{Producer|}}}
-
</div>
+
| label13= [[Music recording sales certification|Certification]]
-
}}
+
| data13 = {{{Certification|}}}
-
| header13  = {{#if:{{{Last album|}}}{{{Next album|}}}|{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Type|}}}|video|&#32;video}}&#32;chronology }}
+
| header14= {{#if:{{{Last single|}}}{{{Next single|}}}|{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}&#32;singles}}&#32;chronology}}
-
| data14  = {{#if:{{{Last album|}}}{{{Next album|}}}|<span />
+
| data15 = {{#if:{{{Last single|}}}{{{Next single|}}}|<span />
-
{{{!}} style="width:100%; background: transparent; text-align: center; font-size: 88%; line-height: 1.4em; vertical-align: top"
+
{{{!}} style="width:100%; background: transparent; text-align: center; line-height: 1.4em; vertical-align: top"
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0" {{!}} {{{Last album|}}}
+
{{!}} style="width:33%; padding:.2em .1em .2em 0" {{!}} {{{Last single|}}}
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0.1em" {{!}} {{{This album|}}}
+
{{!}} style="width:33%; padding:.2em .1em" {{!}} {{{This single|}}}
-
{{!}} style="width: 33%; padding: 0.2em 0 0.2em 0.1em" {{!}} {{{Next album|}}}
+
{{!}} style="width:33%; padding:.2em 0 .2em .1em" {{!}} {{{Next single|}}}
{{!}}}
{{!}}}
}}
}}
-
| below = {{{Misc|}}}
+
| below = {{#if:{{{Misc|}}}|<span />
-
 
+
{{{!}} style="width:100%; background: transparent; text-align: center; line-height: 1.4em; vertical-align: top"
-
}}{{#if:{{NAMESPACE}}||{{#ifeq:{{Template:Infobox album/color|{{{Type|}}}|Test}}|Test|[[Category:Album articles with non-standard infoboxes]]}}{{#ifeq:{{Template:Infobox album/color|{{{Type|}}}}}|[[Category:Album articles with non-standard infoboxes]][[Category:Song articles needing single infobox conversion]]}} }}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with hAudio microformats]]}}<noinclude>{{documentation}}<!-- add categories and interwikis to the /doc subpage, not here --></noinclude>
+
{{{Misc}}}
 +
{{!}}}
 +
}}
 +
}}

Revision as of 10:20, 12 November 2012

Personal tools