Difference between revisions of "Template:Infobox instrument"

From Metal Band Wiki
Jump to: navigation, search
Line 1: Line 1:
{{infobox
+
{{Infobox
| datastyle   = text-align: left
+
| bodyclass   = vcard
| title      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
 
| headerstyle = background:{{Infobox instrument/Color|{{{background|}}} }}
 
| image      = {{#if:{{{image|}}}|[[Image:{{{image}}}|250x250px]]}}
 
| caption    = {{{image_capt|}}}
 
  
| header1    = {{Infobox instrument/Classification|{{{background|}}} }}
+
| aboveclass  = {{Infobox musical artist/hCard class|{{{Background|}}}}}
 +
| abovestyle  = background-color: {{Infobox musical artist/color|{{{Background|}}}}}
 +
| above      = {{#if:{{{Name|{{{name|}}}}}}|{{{Name|{{{name|}}}}}}|<includeonly>{{BASEPAGENAME}}</includeonly>}}
  
| label2      = Other names
+
| imageclass  = {{Image class names|{{{Img}}}}}
| data2       = {{{names|}}}
+
| image       = {{#if:{{{Img|}}}|[[File:{{{Img}}}|{{#ifeq:{{lc:{{{Landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}x200|{{min|220|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}}}px|alt={{{Img_alt|}}}|{{{Img_capt|}}}]]}}
 +
| caption    = {{{Img_capt|}}}
  
| label3      = Musical instrument
+
| headerstyle = background-color: {{Infobox musical artist/color|{{{Background|}}}}}
| data3      = {{#if:{{{classification|}}}|<span />
+
 
{{{classification}}}
+
| header1    = {{#if:{{{Img|}}}|Background information}}
}}
+
 
| label4     = Hornbostel-Sachs
+
| class2      = nickname
| data4      = {{{hornbostel_sachs|}}}{{#if:{{{hornbostel_sachs_desc|}}}|<br />({{{hornbostel_sachs_desc}}})}}
+
| label2      = Birth name
 +
| data2      = {{{Birth_name|{{{birth_name|}}}}}}
 +
 
 +
| class3      = nickname
 +
| label3      = AKA
 +
| data3      = {{{Alias|}}}
 +
 
 +
| label4    = Born
 +
| data4      = {{{Born|}}}
 +
 
 +
| label5    = Origin
 +
| data5      = {{{Origin|}}}
 +
 
 +
| label6    = Died
 +
| data6      = {{{Died|}}}
 +
 
 +
| label7    = Genres
 +
| data7      = {{{Genre|}}}
 +
 
 +
| class8    = role
 +
| label8    = Occupations
 +
| data8      = {{{Occupation|}}}
 +
 
 +
| class9    = note
 +
| label9    = Instruments
 +
| data9     = {{{Instrument|}}}
 +
 
 +
| label10    = Years active
 +
| data10    = {{{Years_active|}}}
 +
 
 +
 
 +
| label11    = Status
 +
| data11    = {{{Status|}}}
 +
 
 +
| label12    = Labels
 +
| data12    = {{{Label|}}}
 +
 
 +
| label13    = Associated acts
 +
| data13    = {{{Associated_acts|}}}
 +
 
 +
| label14    = Website
 +
| data14    = {{{URL|}}}
 +
 
 +
| header15  = {{#if:{{{Current_members|}}}|Members}}
 +
 
 +
| data16    = {{{Current_members|}}}
 +
 
 +
| header17  = {{#if:{{{Past_members|}}}|Past members}}
 +
 
 +
| data18    = {{{Past_members|}}}
 +
 
 +
| header19  = {{#if:{{{Notable_instruments|}}}|Notable instruments}}
  
| label5      = Inventor(s)
+
| class20    = note
| data5      = {{{inventors|}}}
+
| data20    = {{{Notable_instruments|}}}
  
| label6      = Developed
 
| data6      = {{{developed|}}}
 
  
| header7    = {{#if:{{{range|}}}|Playing range}}
 
| data8      = {{#if:{{{range|}}}|<span />
 
{{{range}}}
 
}}
 
| header9      = {{#if:{{{related|}}}|Musical instrument}}
 
| data10      = {{#if:{{{related|}}}|<span />
 
{{{related}}}
 
}}
 
| header11    = {{#if:{{{musicians|}}}|Musicians}}
 
| data12      = {{#if:{{{musicians|}}}|<span />
 
{{{musicians}}}
 
}}
 
| header13    = {{#if:{{{builders|}}}|Builders}}
 
| data14      = {{#if:{{{builders|}}}|<span />
 
{{{builders}}}
 
}}
 
| header15    = {{#if:{{{articles|}}}|More articles}}
 
| data16      = {{#if:{{{articles|}}}|<span />
 
{{{articles}}}
 
 
}}
 
}}
}
 

Revision as of 09:26, 7 June 2011