Difference between revisions of "Template:Infobox guitar model"

From blackwiki
Jump to navigation Jump to search
imported>Hlm Z.
imported>Ich
(Added wikilink to "scale" pointing to Scale length (string instruments) because this is unfamiliar to many readers.)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
+
{{infobox
{| class="infobox" style="float: {{{align|right}}}; width: {{#if:{{{width|}}}|{{{width|}}}|23em}}; font-size: 90%; text-align: left;" cellpadding="3"
+
| bodyclass = vcard
! colspan="2" class="navbox-title" style="font-size:110%; text-align: center;" | ''<span class="fn">{{{title|{{PAGENAME}}}}}</span>''<!--
+
| bodystyle = {{#if:{{{width|}}}|width: {{{width}}};}} {{#switch:{{{align|}}}
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="font-size: 100%; text-align: center;">{{{image|}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}</td></tr>}}
+
| left = float:left; clear:left;  
|-
+
| none = float:none; clear:none;
{{#if:{{{manufacturer|}}}|
+
| #default =  
{{!}} class="navbox-title" {{!}} '''Manufacturer'''
+
}}
{{!}} class="brand" style="width: 100%;" {{!}} {{{manufacturer}}}}}
+
 
|-
+
| aboveclass = navbox-title
{{#if:{{{period|}}}|
+
| above = <includeonly>''<span class="fn">{{{title|{{PAGENAMEBASE}}}}}</span>''</includeonly>
{{!}} class="navbox-title" {{!}} '''Period'''
+
 
{{!}} style="width: 100%;" {{!}} {{{period}}}}}
+
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}  
|-
+
| caption = {{{caption|}}}
{{#if:{{{bodytype|}}}{{{necktype|}}}|
+
 
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Construction'''}}
+
| label1 = Manufacturer
|-
+
| class1 = brand
{{#if:{{{bodytype|}}}|
+
| data1 = {{{manufacturer|}}}
{{!}} class="navbox-title" {{!}} '''Body type'''
+
 
{{!}} style="width: 100%;" {{!}} {{{bodytype}}}}}
+
| label2 = Period
|-
+
| data2 = {{{period|}}}
{{#if:{{{necktype|}}}|
+
 
{{!}} class="navbox-title" {{!}} '''Neck joint'''
+
| class3 = navbox-abovebelow
{{!}} style="width: 100%;" {{!}} {{{necktype}}}}}
+
| header3 = {{#if:{{{bodytype|}}}{{{necktype|}}}|Construction}}
|-
+
 
{{#if:{{{scale|}}}|
+
| label4 = Body type
{{!}} class="navbox-title" {{!}} '''Scale'''
+
| data4 = {{{bodytype|}}}
{{!}} style="width: 100%;" {{!}} {{{scale}}}}}
+
 
|-
+
| label5 = Neck joint
{{#if:{{{woodbody|}}}{{{woodneck|}}}{{{woodfingerboard|}}}|
+
| data5 = {{{necktype|}}}
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Woods'''}}
+
 
|-
+
| label6 = [[Scale length (string instruments)|Scale]]
{{#if:{{{woodbody|}}}|
+
| data6 = {{{scale|}}}
{{!}} class="navbox-title" {{!}} '''Body'''
+
 
{{!}} style="width: 100%;" {{!}} {{{woodbody}}}}}
+
| class7 = navbox-abovebelow
|-
+
| header7 = {{#if:{{{woodbody|}}}{{{woodneck|}}}{{{woodfingerboard|}}}|Woods}}
{{#if:{{{woodneck|}}}|
+
 
{{!}} class="navbox-title" {{!}} '''Neck'''
+
| label8 = Body
{{!}} style="width: 100%;" {{!}} {{{woodneck}}}}}
+
| data8 = {{{woodbody|}}}
|-
+
 
{{#if:{{{woodfingerboard|}}}|
+
| label9 = Neck
{{!}} class="navbox-title" {{!}} '''Fretboard'''
+
| data9 = {{{woodneck|}}}
{{!}} style="width: 100%;" {{!}} {{{woodfingerboard}}}}}
+
 
|-
+
| label10 = Fretboard
{{#if:{{{bridge|}}}{{{pickups|}}}|
+
| data10 = {{{woodfingerboard|}}}
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Hardware'''}}
+
 
|-valign=top
+
| class11 = navbox-abovebelow
{{#if:{{{bridge|}}}|
+
| header11 = {{#if:{{{bridge|}}}{{{pickups|}}}|Hardware}}
{{!}} class="navbox-title" {{!}} '''Bridge'''
+
 
{{!}} style="width: 100%;" {{!}} {{{bridge}}}}}
+
| label12 = Bridge
|-
+
| data12 = {{{bridge|}}}
{{#if:{{{pickups|}}}|
+
 
{{!}} class="navbox-title" {{!}} '''[[Pick up (music technology)#Notation|Pickup(s)]]'''
+
| label13 = [[Pickup (music technology)#Notation|Pickup(s)]]
{{!}} style="width: 100%;" {{!}} {{{pickups}}}}}
+
| data13 = {{{pickups|}}}
|-
+
 
{{#if:{{{colors|}}}|
+
| class14 = navbox-abovebelow
{{!}} class="navbox-abovebelow" align="center" colspan="2" {{!}} '''Colors available'''}}
+
| header14 = {{#if:{{{colors|}}}|Colors available}}
|-
+
 
{{#if:{{{colors|}}}|
+
| data15 = {{{colors|}}}
{{!}} colspan="2" {{!}} {{{colors}}}}}
+
}}<noinclude>{{documentation}}</noinclude>
|}</includeonly><noinclude>{{documentation}}</noinclude>
 

Latest revision as of 21:44, 27 May 2020

[[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