Template:Infobox interval: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
TallKite (talk | contribs)
took out "if one exists", because if there's a ratio, there's a color name!
TallKite (talk | contribs)
m fixed typos, made the order of the fields match their appearance.
Line 51: Line 51:
</div><noinclude>
</div><noinclude>


The template '''Infobox Interval''' was built to help presenting basic informations about [[Interval]]s 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.
The template '''Infobox Interval''' was built to help presenting basic information about [[Interval]]s 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.


The templates supports the following parameters (mandatory parameters in '''bold'''):
The templates supports the following parameters (mandatory parameters in '''bold'''):
Line 61: Line 61:
|-
|-
| JI glyph
| JI glyph
| Just intonatin glyph, if one exists
| Just intonation glyph, if one exists
| complete with prefix "File:" and brackets
| complete with prefix "File:" and brackets
|-
|-
Line 79: Line 79:
| Name(s) of the interval
| Name(s) of the interval
| '''''Maybe better optional?'''''
| '''''Maybe better optional?'''''
|-
| '''Color name'''
| Color name after [[Kite's color notation]]
| in the form: <code>written form, spoken form</code>, for color names see also [[Gallery of Just Intervals]]
|-
|-
| Sound
| Sound
| Soundfile is one exists
| Soundfile, if one exists
| only name of the file (no prefix "File:" and of course without Brackets)
| only name of the file (no prefix "File:" and of course without Brackets)
|-
| Color name
| Color name after [[Kite's color notation]]
| in the form: <code>written form, spoken form</code>, for color names see also [[Gallery of Just Intervals]]
|}
|}


Line 96: Line 96:
| Cents = 968.82591
| Cents = 968.82591
| Name = Harmonic seventh
| Name = Harmonic seventh
| Color name = z7, zo 7th
| Sound = jid_7_4_pluck_adu_dr220.mp3
| Sound = jid_7_4_pluck_adu_dr220.mp3
| Color name = z7, zo 7th
}}</nowiki>
}}</nowiki>
In the above example, an icon from the [[JI glyphs]] set is used.
In the above example, an icon from the [[JI glyphs]] set is used.
Line 110: Line 110:
| Cents =  
| Cents =  
| Name =  
| Name =  
| Color name =
| Sound =  
| Sound =  
| Color name =
}}</nowiki>
}}</nowiki>



Revision as of 04:47, 23 October 2018

Interval information

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.

The templates supports the following parameters (mandatory parameters in bold):

Parameter Meaning Usage hints, Remarks
JI glyph Just intonation glyph, if one exists complete with prefix "File:" and brackets
Ratio Frequency ratio of the interval
Monzo Parameters of the Monzo notation
Cents Size in Cent
Names
or Name
Name(s) of the interval Maybe better optional?
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
Sound Soundfile, if one exists only name of the file (no prefix "File:" and of course without Brackets)

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

{{Infobox Interval
| JI glyph = [[File:glyph_7_4.png|48px]]
| Ratio = 7/4
| Monzo = -2 0 0 1
| Cents = 968.82591
| Name = Harmonic seventh
| Color name = z7, zo 7th
| Sound = jid_7_4_pluck_adu_dr220.mp3
}}

In the above example, an icon from the JI glyphs set is used.


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

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