Difference between revisions of "Template:Infobox guitar model"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(rm improper use of the <cite></cite> markup (added 9 April 2007): the photo caption is not the title of a work, see http://www.w3.org/TR/html5/text-level-semantics.html#the-cite-element)
imported>Frietjes
(use infobox)
Line 1: Line 1:
<includeonly>{| class="infobox" style="float: {{{align|right}}}; width: {{#if:{{{width|}}}|{{{width|}}}|23em}}; font-size: 90%; text-align: left;" cellpadding="3"
+
{{infobox
! colspan="2" class="navbox-title" style="font-size:110%; text-align: center;" | ''<span class="fn">{{{title|{{PAGENAME}}}}}</span>''<!--
+
| bodyclass = vcard
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="font-size: 100%; text-align: center;">{{{image|}}}{{#if:{{{caption|}}}|<br/>{{{caption|}}}|}}</td></tr>}}
+
| bodystyle = {{#if:{{{width|}}}|width: {{{width}}};}} {{#switch:{{{align|}}}
|-
+
| left = float:left; clear:left;  
{{#if:{{{manufacturer|}}}|
+
| none = float:none; clear:none;
{{!}} class="navbox-title" {{!}} '''Manufacturer'''
+
| #default =  
{{!}} class="brand" style="width: 100%;" {{!}} {{{manufacturer}}}}}
+
}}
|-
+
 
{{#if:{{{period|}}}|
+
| aboveclass = navbox-title
{{!}} class="navbox-title" {{!}} '''Period'''
+
| above = <includeonly>''<span class="fn">{{{title|{{PAGENAME}}}}}</span>''</includeonly>
{{!}} style="width: 100%;" {{!}} {{{period}}}}}
+
 
|-
+
| image = {{{image|}}}
{{#if:{{{bodytype|}}}{{{necktype|}}}|
+
| caption = {{{caption|}}}
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Construction'''}}
+
 
|-
+
| label1 = Manufacturer
{{#if:{{{bodytype|}}}|
+
| class1 = brand
{{!}} class="navbox-title" {{!}} '''Body type'''
+
| data1 = {{{manufacturer|}}}
{{!}} style="width: 100%;" {{!}} {{{bodytype}}}}}
+
 
|-
+
| label2 = Period
{{#if:{{{necktype|}}}|
+
| data2 = {{{period|}}}
{{!}} class="navbox-title" {{!}} '''Neck joint'''
+
 
{{!}} style="width: 100%;" {{!}} {{{necktype}}}}}
+
| class3 = navbox-abovebelow
|-
+
| header3 = {{#if:{{{bodytype|}}}{{{necktype|}}}|Construction}}
{{#if:{{{scale|}}}|
+
 
{{!}} class="navbox-title" {{!}} '''Scale'''
+
| label4 = Body type
{{!}} style="width: 100%;" {{!}} {{{scale}}}}}
+
| data4 = {{{bodytype|}}}
|-
+
 
{{#if:{{{woodbody|}}}{{{woodneck|}}}{{{woodfingerboard|}}}|
+
| label5 = Neck joint
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Woods'''}}
+
| data5 = {{{necktype|}}}
|-
+
 
{{#if:{{{woodbody|}}}|
+
| label6 = Scale
{{!}} class="navbox-title" {{!}} '''Body'''
+
| data6 = {{{scale|}}}
{{!}} style="width: 100%;" {{!}} {{{woodbody}}}}}
+
 
|-
+
| class7 = navbox-abovebelow
{{#if:{{{woodneck|}}}|
+
| header7 = {{#if:{{{woodbody|}}}{{{woodneck|}}}{{{woodfingerboard|}}}|Woods}}
{{!}} class="navbox-title" {{!}} '''Neck'''
+
 
{{!}} style="width: 100%;" {{!}} {{{woodneck}}}}}
+
| label8 = Body
|-
+
| data8 = {{{woodbody|}}}
{{#if:{{{woodfingerboard|}}}|
+
 
{{!}} class="navbox-title" {{!}} '''Fretboard'''
+
| label9 = Neck
{{!}} style="width: 100%;" {{!}} {{{woodfingerboard}}}}}
+
| data9 = {{{woodneck|}}}
|-
+
 
{{#if:{{{bridge|}}}{{{pickups|}}}|
+
| label10 = Fretboard
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Hardware'''}}
+
| data10 = {{{woodfingerboard|}}}
|-valign=top
+
 
{{#if:{{{bridge|}}}|
+
| class11 = navbox-abovebelow
{{!}} class="navbox-title" {{!}} '''Bridge'''
+
| header11 = {{#if:{{{bridge|}}}{{{pickups|}}}|Hardware}}
{{!}} style="width: 100%;" {{!}} {{{bridge}}}}}
+
 
|-
+
| label12 = Bridge
{{#if:{{{pickups|}}}|
+
| data12 = {{{bridge|}}}
{{!}} class="navbox-title" {{!}} '''[[Pick up (music technology)#Notation|Pickup(s)]]'''
+
 
{{!}} style="width: 100%;" {{!}} {{{pickups}}}}}
+
| label13 = [[Pick up (music technology)#Notation|Pickup(s)]]
|-
+
| data13 = {{{pickups|}}}
{{#if:{{{colors|}}}|
+
 
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Colors available'''}}
+
| class14 = navbox-abovebelow
|-
+
| header14 = {{#if:{{{colors|}}}|Colors available}}
{{#if:{{{colors|}}}|
+
 
{{!}} colspan="2" {{!}} {{{colors}}}}}
+
| data15 = {{{colors|}}}
|}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}<noinclude>{{documentation}}</noinclude>

Revision as of 14:43, 31 May 2013

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Gibson SG
ManufacturerGibson
Period1961–present
Construction
Body typeSolid
Neck jointSet
Scale24 34 in (63 cm)
Woods
BodyMahogany
NeckMahogany
FretboardEbony or Rosewood
Hardware
BridgeFixed or Gibson vibrato
Pickup(s)1, 2 or 3 Humbuckers; 1 or 2 P-90s; certain entry-level versions had single coil pickups.
Colors available
Mostly cherry but also natural, walnut, white, black and various specialty colors and bursts.
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox guitar model
|title           = 
|image           = 
|caption         = 
|manufacturer    = 
|period          = 
|bodytype        = 
|necktype        = 
|scale           = 
|woodbody        = 
|woodneck        = 
|woodfingerboard = 
|bridge          = 
|pickups         = 
|colors          = 
}}

Microformat

Template:UF-hprod

cs:Šablona:Infobox model kytary de:Vorlage:Infobox E-Gitarrenmodell es:Plantilla:Ficha de guitarra fi:Malline:Kitaramalli fr:Modèle:Infobox Guitare hu:Sablon:Gitár it:Template:Infobox Modello Chitarra ja:Template:Infobox Guitar model nl:Sjabloon:Infobox gitaar no:Mal:Infoboks gitar pt:Predefinição:Infobox Modelo de Guitarra