|
|
| (4 intermediate revisions by 2 users not shown) |
| Line 3: |
Line 3: |
| Template for documenting guitars with semantic properties, including guitar-specific fields like tonewoods, scale length, and bracing. | | Template for documenting guitars with semantic properties, including guitar-specific fields like tonewoods, scale length, and bracing. |
|
| |
|
| === Usage ===
| | Powered by [[Module:Instrument]] (Lua). New guitars should use [[Form:Instrument]] which creates pages with [[Template:Instrument]] directly. |
| <pre>
| |
| {{Guitar
| |
| |image=Example.jpg
| |
| |make=Martin
| |
| |model=D-28
| |
| |serial=123456
| |
| |year=1954
| |
| |current_owner=[[Some Person]]
| |
| |previous_owners=[[Person A]], [[Person B]]
| |
| |top_wood=Adirondack Spruce
| |
| |back_sides_wood=Brazilian Rosewood
| |
| |neck_wood=Mahogany
| |
| |fingerboard_wood=Ebony
| |
| |bridge_wood=Ebony
| |
| |scale_length=25.4"
| |
| |nut_width=1 11/16"
| |
| |bracing=X-bracing
| |
| |body_style=Dreadnought
| |
| |electronics=K&K Pure Mini
| |
| |strings=6
| |
| }}
| |
| </pre>
| |
|
| |
|
| === Parameters === | | === Parameters === |
| ==== Basic Info ==== | | ==== Basic Info ==== |
| | * '''nickname''' - Nickname for the instrument (optional) |
| * '''image''' - Main image filename | | * '''image''' - Main image filename |
| * '''make''' - Manufacturer/luthier | | * '''make''' - Manufacturer/luthier |
| Line 55: |
Line 34: |
|
| |
|
| [[Category:Templates]] | | [[Category:Templates]] |
| </noinclude><includeonly>{{#set: | | </noinclude><includeonly>{{#invoke:Instrument|infobox |
| |Instrument type=Guitar | | |type=Guitar |
| |Make={{{make|}}} | | |nickname={{{nickname|}}} |
| |Model={{{model|}}} | | |image={{{image|}}} |
| |Serial={{{serial|}}} | | |make={{{make|}}} |
| |Year built={{{year|}}} | | |model={{{model|}}} |
| |Current owner={{{current_owner|}}} | | |serial={{{serial|}}} |
| |Top wood={{{top_wood|}}} | | |year={{{year|}}} |
| |Back and sides wood={{{back_sides_wood|}}} | | |current_owner={{{current_owner|}}} |
| |Neck wood={{{neck_wood|}}} | | |previous_owners={{{previous_owners|}}} |
| |Fingerboard wood={{{fingerboard_wood|}}}
| | |body_shape={{{body_style|}}} |
| |Bridge wood={{{bridge_wood|}}}
| | |top_wood={{{top_wood|}}} |
| |Scale length={{{scale_length|}}}
| | |back_sides_wood={{{back_sides_wood|}}} |
| |Nut width={{{nut_width|}}} | | |neck_wood={{{neck_wood|}}} |
| |Bracing={{{bracing|}}}
| | |fingerboard_wood={{{fingerboard_wood|}}} |
| |Body style={{{body_style|}}}
| | |bridge_wood={{{bridge_wood|}}} |
| |Electronics={{{electronics|}}} | | |scale_length={{{scale_length|}}} |
| |Number of strings={{{strings|6}}} | | |nut_width={{{nut_width|}}} |
| }}{| class="infobox" style="width: 300px; border: 1px solid #aaa; background: #f9f9f9; padding: 10px; margin: 0 0 1em 1em; float: right;"
| | |strings={{{strings|}}} |
| |-
| | |electronics={{{electronics|}}} |
| ! colspan="2" style="background: #ccc; font-size: 1.1em; padding: 5px;" | {{#if:{{{make|}}}|{{{make}}}}} {{#if:{{{model|}}}|{{{model}}}}}
| | }}</includeonly> |
| {{#if:{{{image|}}}|
| |
| {{!}}-
| |
| {{!}} colspan="2" style="text-align: center; padding: 10px;" {{!}} [[File:{{{image}}}|280px]]
| |
| }}
| |
| |-
| |
| ! style="text-align: right; padding: 3px; width: 40%;" | Type
| |
| | style="padding: 3px;" | Guitar
| |
| {{#if:{{{serial|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Serial
| |
| {{!}} style="padding: 3px;" {{!}} {{{serial}}}
| |
| }}
| |
| {{#if:{{{year|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Year
| |
| {{!}} style="padding: 3px;" {{!}} {{{year}}}
| |
| }}
| |
| {{#if:{{{body_style|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Body
| |
| {{!}} style="padding: 3px;" {{!}} {{{body_style}}}
| |
| }}
| |
| {{#if:{{{current_owner|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Owner
| |
| {{!}} style="padding: 3px;" {{!}} {{{current_owner}}}
| |
| }}
| |
| {{#if:{{{previous_owners|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Previous
| |
| {{!}} style="padding: 3px;" {{!}} {{{previous_owners}}}
| |
| }}
| |
| {{#if:{{{top_wood|}}}|{{{back_sides_wood|}}}|{{{neck_wood|}}}|{{{fingerboard_wood|}}}|{{{bridge_wood|}}}|
| |
| {{!}}-
| |
| ! colspan="2" style="background: #ddd; padding: 3px;" {{!}} Tonewoods
| |
| }}
| |
| {{#if:{{{top_wood|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Top
| |
| {{!}} style="padding: 3px;" {{!}} {{{top_wood}}} | |
| }}
| |
| {{#if:{{{back_sides_wood|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Back/Sides
| |
| {{!}} style="padding: 3px;" {{!}} {{{back_sides_wood}}}
| |
| }}
| |
| {{#if:{{{neck_wood|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Neck
| |
| {{!}} style="padding: 3px;" {{!}} {{{neck_wood}}}
| |
| }}
| |
| {{#if:{{{fingerboard_wood|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Fingerboard
| |
| {{!}} style="padding: 3px;" {{!}} {{{fingerboard_wood}}}
| |
| }}
| |
| {{#if:{{{bridge_wood|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Bridge
| |
| {{!}} style="padding: 3px;" {{!}} {{{bridge_wood}}}
| |
| }}
| |
| {{#if:{{{scale_length|}}}|{{{nut_width|}}}|{{{bracing|}}}|
| |
| {{!}}-
| |
| ! colspan="2" style="background: #ddd; padding: 3px;" {{!}} Specifications
| |
| }}
| |
| {{#if:{{{scale_length|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Scale
| |
| {{!}} style="padding: 3px;" {{!}} {{{scale_length}}} | |
| }}
| |
| {{#if:{{{nut_width|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Nut Width
| |
| {{!}} style="padding: 3px;" {{!}} {{{nut_width}}}
| |
| }}
| |
| {{#if:{{{bracing|}}}|
| |
| {{!}}-
| |
| ! style="text-align: right; padding: 3px;" {{!}} Bracing
| |
| {{!}} style="padding: 3px;" {{!}} {{{bracing}}}
| |
| }}
| |
| {{#if:{{{electronics|}}}|
| |
| {{!}}-
| |
| ! colspan="2" style="background: #ddd; padding: 3px;" {{!}} Electronics
| |
| {{!}}-
| |
| {{!}} colspan="2" style="padding: 3px;" {{!}} {{{electronics}}}
| |
| }}
| |
| |}
| |
| [[Category:Instruments]][[Category:Guitars]]</includeonly>
| |
Guitar Infobox
Template for documenting guitars with semantic properties, including guitar-specific fields like tonewoods, scale length, and bracing.
Powered by Module:Instrument (Lua). New guitars should use Form:Instrument which creates pages with Template:Instrument directly.
Parameters
Basic Info
- nickname - Nickname for the instrument (optional)
- image - Main image filename
- make - Manufacturer/luthier
- model - Model name/number
- serial - Serial number
- year - Year built
- current_owner - Current owner (wiki link)
- previous_owners - Previous owners (comma-separated wiki links)
Tonewoods
- top_wood - Soundboard/top tonewood
- back_sides_wood - Back and sides tonewood
- neck_wood - Neck wood
- fingerboard_wood - Fingerboard wood
- bridge_wood - Bridge wood
Specifications
- scale_length - Scale length (e.g., 25.4")
- nut_width - Nut width (e.g., 1 11/16")
- bracing - Bracing pattern (X-bracing, ladder, scalloped X, etc.)
- body_style - Body shape (Dreadnought, OM, 000, Jumbo, etc.)
- strings - Number of strings (default: 6)
Electronics
- electronics - Pickup system if any