User:FloraC/Infobox Interval

From Xenharmonic Wiki
Jump to navigation Jump to search


The template Infobox Interval was built to help presenting basic information about intervals in a unified form, to make them obvious by glance. Also the formatting of the wiki text itself is easier to read and improve when it is obviously structured by this template.

Usage

The templates supports the following parameters (highly requested parameters in bold):

Parameter Meaning Usage notes, Remarks
JI glyph Just intonation glyph, if one exists complete with prefix "File:" and brackets
Ratio Frequency ratio of the interval pages with missing values go into Category:Todo:add interval ratio
Monzo Parameters of the Monzo notation pages with missing values go into Category:Todo:add interval monzo
Cents Size in cents pages with missing values go into Category:Todo:add interval cents
Name Name(s) of the interval pages with missing values go into Category:Todo:add interval name
Color name Color name after Kite's color notation in the form: written form, spoken form, for color names see also Gallery of just intervals
FJS name Functional Just System name
Sound Soundfile, if one exists only name of the file (no prefix "File:" and of course without brackets)

Example

Usage example for the harmonic seventh (7/4):

{{Infobox Interval
| Ratio = 7/4
| Monzo = -2 0 0 1
| Cents = 968.82591
| Name = Harmonic seventh
| Color name = z7, zo 7th
| FJS name = m7<sup>7</sup>
| Sound = jid_7_4_pluck_adu_dr220.mp3
}}

Boilerplates

Empty template for copy & paste (to avoid copying wrong values from interval pages):

{{Infobox Interval
| Ratio = 
| Monzo = 
| Cents = 
| Name = 
| Color name = 
| FJS name = 
| Sound = 
}}

Partlially self-filling version for copy & paste (to avoid copying wrong values from interval pages):

{{Infobox Interval
| Ratio = {{subst:PAGENAME}}
| Monzo = 
| Cents = {{subst:cents|{{subst:PAGENAME}}|5}}
| Name = 
| Color name = 
| FJS name = 
| Sound = 
}}

See also