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

From blackwiki
Jump to navigation Jump to search
imported>Frozen-mikan
imported>Pipian
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{Infobox instrument
 
{{Infobox instrument
| name           = {{subst:PAGENAME}}
+
| name                 = {{subst:PAGENAME}}
| names         =
+
| names                 =
| image         = Replace this image butterfly.png
+
| image                 = Replace this image butterfly.png
| image_capt     =
+
| image_capt           =
| color          =  
+
| background            =
| classification =
+
| classification       =
| range         =
+
| hornbostel_sachs      =
| related       =
+
| hornbostel_sachs_desc =
| musicians     =
+
| inventors            =
| builders       =
+
| developed            =
| articles       =
+
| range                 =
 +
| related               =
 +
| musicians             =
 +
| builders             =
 +
| articles             =
 
}}
 
}}
 
</pre>
 
</pre>
Line 27: Line 31:
 
*{{{Image}}} – the filename of a photo of the instrument
 
*{{{Image}}} – the filename of a photo of the instrument
 
*{{{Image_capt}}} - a caption for the photo of the instrument
 
*{{{Image_capt}}} - a caption for the photo of the instrument
*{{{Color}}} – a color scheme for the Infobox
+
*{{{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
 
*'''{{{Classification}}}''' – the classification of the instrument (such as string, woodwind, etc.)
 
*'''{{{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.)
 
*{{{Range}}} - the playing range of the instrument (an image is preferred; many are already created, see [[commons:Category:Instrument ranges]])
 
*{{{Range}}} - the playing range of the instrument (an image is preferred; many are already created, see [[commons:Category:Instrument ranges]])
 
*{{{Related}}} - related musical instruments
 
*{{{Related}}} - related musical instruments

Revision as of 01:13, 23 February 2009

Code

{{Infobox instrument
| name                  = {{subst:PAGENAME}}
| names                 =
| image                 = Replace this image butterfly.png
| image_capt            =
| background            =
| classification        =
| hornbostel_sachs      =
| hornbostel_sachs_desc =
| inventors             =
| developed             =
| range                 =
| 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
  • {{{Names}}} – other name/names
  • {{{Image}}} – the filename of a photo of the instrument
  • {{{Image_capt}}} - 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
  • {{{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.)
  • {{{Range}}} - the playing range of the instrument (an image is preferred; many are already created, see commons:Category:Instrument ranges)
  • {{{Related}}} - related musical instruments
  • {{{Musicians}}} - related musicians
  • {{{Builders}}} - related musical instrument makers
  • {{{Articles}}} - other articles which may be of interest

See also