Infoboxtest: Difference between revisions

From TekPercussion
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
{{about|the musical instrument}}
|title        = ETCwiki.org Infobox
{{morefootnotes|date=May 2008}}
|image        = [[Image:example.png|200px]]
{{Infobox instrument
|header1 = Main Heading
| name                 = Marimba
|header2 = First set of data
| names                =
|label2  = Label
| image                = Marimba-Antonko-AMC12.jpg
|data2  = Data
| image_capt            = Marimba, model Antonko AMC-12
|header3 = Remove this line (optional)
| background            =
|label3  = More Label
| classification       = [[Percussion instrument]] ([[Idiophone]])
|data3  = More data
| hornbostel_sachs     = 111.212
}}
| hornbostel_sachs_desc =
{{Infobox
| inventors            =
|name         = Infobox/doc
| developed            =
|bodystyle    =  
| range                = [[Image:Marimba-Range.jpg|400px|center]]
|title        = Test Infobox
| related              =
|titlestyle  =  
| musicians            = [[List of marimbists]]
 
| builders              = [[List of marimba manufacturers]]
|image       = [[File:example.png|200px|alt=Example alt text]]
| articles              =
|imagestyle  =
|caption     = Caption for example.png
|captionstyle =  
|headerstyle  = background:#ccf;
|labelstyle  = background:#ddf;
|datastyle    =  
 
|header1 = Header defined alone
|label1  =
|data1  =  
|header2 =  
|label2  = Label defined alone does not display (needs data, or is suppressed)
|data2  =
|header3 =
|label3  =
|data3  = Data defined alone
|header4 = All three defined (header, label, data, all with same number)
|label4  = does not display (same number as a header)
|data4  = does not display (same number as a header)
|header5 =
|label5  = Label and data defined (label)
|data5  = Label and data defined (data)
 
|belowstyle = background:#ddf;
|below = Below text
}}
}}

Revision as of 16:13, 19 February 2012

Template:About Template:Morefootnotes


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

cs:Šablona:Infobox hudební nástroj da:Skabelon:Infoboks musikinstrument de:Vorlage:Infobox Musikinstrument eo:Ŝablono:Informkesto muzikilo es:Plantilla:Infobox Instrumento fr:Modèle:Infobox Musique (instrument) hsb:Předłoha:Infokašćik hudźbny instrument id:Templat:Infobox Instrument ja:Template:Infobox 楽器 ko:틀:악기 정보 mk:Шаблон:Музички инструмент pt:Predefinição:Info/Instrumento ro:Format:Instrument muzical ru:Шаблон:Музыкальный инструмент sk:Šablóna:Infobox hudobný nástroj tr:Şablon:Çalgı vi:Tiêu bản:Nhạc cụ vĩ kéo zh:Template:Infobox Instrument