Difference between revisions of "Template:Infobox instrument/doc"

From World Samba
Jump to: navigation, search
(update blank template)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 21:18, 26 March 2017

Code

name
Example image not to be used in article namespace.jpg
image caption
background
Other names names
Classification

classification
Hornbostel–Sachs classification hombostel_sachs
(hombostel_sachs_desc)
Inventor(s) inventors
Developed developed
Timbre timbre
Volume volume
Attack attack
Decay decay
Playing range

range [music notation]

pitch ["low"/"medium"/"high"]
Related instruments

related
Musicians

musicians
Builders

builders
More articles

articles
{{Infobox instrument
| name                  = {{subst:PAGENAMEBASE}}
| image                 = Replace this image butterfly.png
| image_size            =
| alt                   =
| caption               =
| background            =
| names                 =
| classification        =
| hornbostel_sachs      =
| hornbostel_sachs_desc =
| inventors             =
| developed             =
| timbre                = 
| volume                = 
| attack                = 
| decay                 = 
| range                 =
| pitch                 = 
| related               =
| musicians             =
| builders              =
| articles              =
}}

Usage

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

name – full name of the instrument - using WikiProject Musical Instruments/Templates/Infobox instrument/doc will set this field to the name of the article
image – the filename of a photo of the instrument
caption - a caption for the photo of the instrument
background – 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
names – other name/names
classification – the classification of the instrument (such as string, woodwind, etc.)
hornbostel_sachs - the Hornbostel-Sachs classification of the instrument (or 'NaN', if not specified, such as for the Hydraulophone)
hornbostel_sachs_desc - a textual description of the Hornbostel-Sachs classification
inventors - the inventor(s) of the instrument, if known
developed - 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.)
timbre - the sound quality of the instrument
volume - how loud the instrument is: "low", "medium", "high"
attack - how quickly the instrument begins making sound when it starts being played: "slow", "medium", "fast"
decay - how long the sound fades after the instrument stops being played: "slow", "medium", "fast"
range - the playing range of the instrument (an image is preferred; many are already created, see commons:Category:Instrument ranges)
pitch - the playing range of the instrument, without image: "low", "medium", "high"
related - related musical instruments
musicians - related musicians
builders - related musical instrument makers
articles - other articles which may be of interest

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Infobox instrument/doc

An infobox for articles about musical instruments

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the instrument

Default
empty
Example
empty
Auto value
empty
Stringoptional
Imageimage

The file name for an image of the instrument

Default
empty
Example
empty
Auto value
empty
Stringoptional
Captioncaption

An description of the image

Default
empty
Example
empty
Auto value
empty
Stringoptional
Backgroundbackground

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

Default
empty
Example
empty
Auto value
empty
Stringoptional
Namesnames

Alternative names for the instrument

Default
empty
Example
empty
Auto value
empty
Stringoptional
Classificationclassification

The general classification of the instrument - Idiophone, Membranophone, Chordophone, Aerophone, Electrophone

Default
empty
Example
empty
Auto value
empty
Stringoptional
Hornbostel-Sachshornbostel_sachs

The Hornbostel-Sachs number of the instrument

Default
empty
Example
empty
Auto value
empty
Stringoptional
Hornbostel-Sachs Descriptionhornbostel_sachs_desc

The name of the Hornbostel-Sachs subcategory of the instrument

Default
empty
Example
empty
Auto value
empty
Stringoptional
Inventorsinventors

The inventor(s) of the instrument, if known

Default
empty
Example
empty
Auto value
empty
Stringoptional
Pitchpitch

the playing range of the instrument, without image: 'low', 'medium', 'high'

Default
empty
Example
empty
Auto value
empty
Stringoptional
Relatedrelated

related musical instruments

Default
empty
Example
empty
Auto value
empty
Stringoptional
Musiciansmusicians

Notable musicians

Default
empty
Example
empty
Auto value
empty
Stringoptional
Buildersbuilders

Notable music instrument makers

Default
empty
Example
empty
Auto value
empty
Stringoptional
Developeddeveloped

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.)

Default
empty
Example
empty
Auto value
empty
Stringoptional
Timbretimbre

The sound quality of the instrument

Default
empty
Example
empty
Auto value
empty
Stringoptional
Volumevolume

How loud the instrument is - 'low', 'medium', 'high'

Default
empty
Example
empty
Auto value
empty
Stringoptional
Attackattack

how quickly the instrument begins making sound when it starts being played - 'slow', 'medium', 'fast'

Default
empty
Example
empty
Auto value
empty
Stringoptional
Decaydecay

how long the sound fades after the instrument stops being played: 'slow', 'medium', 'fast'

Default
empty
Example
empty
Auto value
empty
Stringoptional
Rangerange

The playing range of the instrument (an image is preferred, many are already created, see [[commons:Category:Instrument ranges]]')

Default
empty
Example
empty
Auto value
empty
Stringoptional
Articlesarticles

Other articles which may be of interest

Default
empty
Example
empty
Auto value
empty
Stringoptional

See also