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

From blackwiki
Jump to navigation Jump to search
imported>Auric
m (→‎Code: use Example-serious.jpg)
imported>Funandtrvl
(fx code)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-------------------------------------------------------------------
 
+
    Place categories where indicated at the bottom of this page,
 +
    please; interwikis to Wikidata (see [[Wikipedia:Wikidata]]).
 +
-------------------------------------------------------------------->
 
==Code==
 
==Code==
 
{{Infobox instrument
 
{{Infobox instrument
 
| name                  = ''name''
 
| name                  = ''name''
| names                = ''names''
 
 
| image                = Example-serious.jpg
 
| image                = Example-serious.jpg
 
| caption              = ''image caption''
 
| caption              = ''image caption''
 
| background            = ''background''
 
| background            = ''background''
 +
| names                = ''names''
 
| classification        = ''classification''
 
| classification        = ''classification''
 
| hornbostel_sachs      = ''hombostel_sachs''
 
| hornbostel_sachs      = ''hombostel_sachs''
Line 14: Line 16:
 
| inventors            = ''inventors''
 
| inventors            = ''inventors''
 
| developed            = ''developed''
 
| developed            = ''developed''
| range                = ''range'' [music notation]
 
| pitch                = ''range'' ["low"/"medium"/"high"]
 
 
| timbre                = ''timbre''
 
| timbre                = ''timbre''
 
| volume                = ''volume''
 
| volume                = ''volume''
 
| attack                = ''attack''
 
| attack                = ''attack''
 
| decay                = ''decay''
 
| decay                = ''decay''
 +
| range                = ''range'' [music notation]
 +
| pitch                = ''pitch'' ["low"/"medium"/"high"]
 
| related              = ''related''
 
| related              = ''related''
 
| musicians            = ''musicians''
 
| musicians            = ''musicians''
Line 28: Line 30:
 
{{Infobox instrument
 
{{Infobox instrument
 
| name                  = {{subst:PAGENAME}}
 
| name                  = {{subst:PAGENAME}}
| names                =
 
 
| image                = Replace this image butterfly.png
 
| image                = Replace this image butterfly.png
 +
| image_size            =
 +
| alt                  =
 
| caption              =
 
| caption              =
 
| background            =
 
| background            =
 +
| names                =
 
| classification        =
 
| classification        =
 
| hornbostel_sachs      =
 
| hornbostel_sachs      =
Line 37: Line 41:
 
| inventors            =
 
| inventors            =
 
| developed            =
 
| developed            =
| range                =
 
| pitch                =
 
 
| timbre                =  
 
| timbre                =  
 
| volume                =  
 
| volume                =  
 
| attack                =  
 
| attack                =  
 
| decay                =  
 
| decay                =  
 +
| range                =
 +
| pitch                =
 
| related              =
 
| related              =
 
| musicians            =
 
| musicians            =
Line 51: Line 55:
  
 
== Usage ==
 
== Usage ==
 
 
This template, meant to be used on all musical instrument pages, takes the following parameters (bold parameters are required, others are optional):
 
This template, meant to be used on all musical instrument pages, takes the following parameters (bold parameters are required, others are optional):
  
Line 57: Line 60:
 
|-
 
|-
 
|'''name'''|| – full name of the instrument - using WikiProject Musical Instruments/Templates/Infobox instrument/doc will set this field to the name of the article
 
|'''name'''|| – full name of the instrument - using WikiProject Musical Instruments/Templates/Infobox instrument/doc will set this field to the name of the article
|-
 
|names|| – other name/names
 
 
|-
 
|-
 
|image|| – the filename of a photo of the instrument
 
|image|| – the filename of a photo of the instrument
Line 65: Line 66:
 
|-
 
|-
 
|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
 
|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.)
 
|'''classification'''|| – the classification of the instrument (such as string, woodwind, etc.)
Line 75: Line 78:
 
|-
 
|-
 
|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.)
 
|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.)
|-
 
|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, with''out'' image: "low", "medium", "high"
 
 
|-
 
|-
 
|timbre|| - the sound quality of the instrument<!--: X, Y, Z, "bright, metallic", "pure, focused"-->
 
|timbre|| - the sound quality of the instrument<!--: X, Y, Z, "bright, metallic", "pure, focused"-->
Line 87: Line 86:
 
|-
 
|-
 
|decay|| - how long the sound fades after the instrument stops 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, with''out'' image: "low", "medium", "high"
 
|-
 
|-
 
|related|| - related musical instruments
 
|related|| - related musical instruments
Line 95: Line 98:
 
|-
 
|-
 
|articles|| - other articles which may be of interest
 
|articles|| - other articles which may be of interest
 +
|-
 
|}
 
|}
  
Line 100: Line 104:
 
*{{tl|Infobox musical artist}}
 
*{{tl|Infobox musical artist}}
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly>
 +
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!-------------------------------------------------------------------
 +
      Categories below here, please; interwikis to Wikidata.
 +
-------------------------------------------------------------------->
 
[[Category:Music infobox templates|Instrument]]
 
[[Category:Music infobox templates|Instrument]]
 
+
}}</includeonly>
</includeonly>
 

Revision as of 23:59, 24 June 2014

Code

name
File:Example image not to be used in article namespace.jpg
image caption
background
Other namesnames
Classification classification
Hornbostel–Sachs classificationhombostel_sachs
(hombostel_sachs_desc)
Inventor(s)inventors
Developeddeveloped
Timbretimbre
Volumevolume
Attackattack
Decaydecay
Playing range

range [music notation]

pitch ["low"/"medium"/"high"]
Related instruments
related
Musicians
musicians
Builders
builders
More articles or information
articles
{{Infobox instrument
| name                  = {{subst:PAGENAME}}
| 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

See also