Template:Infobox instrument/doc

Code


Usage
This template, meant to be used on all musical instrument pages, takes the following parameters (bold parameters are required, others are optional):

TemplateData
{ "description": "An infobox for articles about musical instruments", "params": { "name": { "label": "Name", "description": "The name of the instrument", "type": "string", "required": false },    "image": { "label": "Image", "description": "The file name for an image of the instrument", "type": "string", "required": false },    "caption": { "label": "Caption", "description": "An description of the image", "type": "string", "required": false },    "background": { "label": "Background", "description": "The general classification of the instrument ('keyboard', 'woodwind', 'brass', 'string', 'percussion', 'electronic', or 'other') used to choose the color scheme of the infobox and populate a simple classification link-header below the image caption", "type": "string", "required": false },    "names": { "label": "Names", "description": "Alternative names for the instrument", "type": "string", "required": false },    "classification": { "label": "Classification", "description": "The general classification of the instrument - Idiophone, Membranophone, Chordophone, Aerophone, Electrophone", "type": "string", "required": false },    "hornbostel_sachs ": { "label": "Hornbostel-Sachs", "description": "The Hornbostel-Sachs number of the instrument ", "type": "string", "required": false },    "hornbostel_sachs_desc ": { "label": "Hornbostel-Sachs Description", "description": "The name of the Hornbostel-Sachs subcategory of the instrument ", "type": "string", "required": false },    "inventors": { "label": "Inventors", "description": "The inventor(s) of the instrument, if known", "type": "string", "required": false },    "pitch": { "label": "Pitch", "description": "the playing range of the instrument, without image: 'low', 'medium', 'high'", "type": "string", "required": false },    "related": { "label": "Related", "description": "related musical instruments", "type": "string", "required": false },    "musicians": { "label": "Musicians", "description": "Notable musicians", "type": "string", "required": false },    "builders": { "label": "Builders", "description": "Notable music instrument makers", "type": "string", "required": false },   "developed": { "label": "Developed", "description": "the rough time period (and instrument from which) the instrument was developed (e.g. 'Early 16th century' for the violin, 'Early 18th century from the chalumeau' for the clarinet, etc.)", "type": "string", "required": false },    "timbre": { "label": "Timbre", "description": "The sound quality of the instrument", "type": "string", "required": false },    "volume": { "label": "Volume", "description": "How loud the instrument is - 'low', 'medium', 'high'", "type": "string", "required": false },    "attack": { "label": "Attack", "description": "how quickly the instrument begins making sound when it starts being played - 'slow', 'medium', 'fast'", "type": "string", "required": false },    "decay": { "label": "Decay", "description": "how long the sound fades after the instrument stops being played: 'slow', 'medium', 'fast'", "type": "string", "required": false },    "range": { "label": "Range", "description": "The playing range of the instrument (an image is preferred, many are already created, see commons:Category:Instrument ranges')", "type": "string", "required": false },    "articles": { "label": "Articles", "description": "Other articles which may be of interest", "type": "string", "required": false } } }