Template:Infobox interval: Difference between revisions
Jump to navigation
Jump to search
cent lowercased |
|||
Line 23: | Line 23: | ||
|- | |- | ||
{{#if: {{{Monzo|}}} | | {{#if: {{{Monzo|}}} | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[ | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Monzo]] | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{Monzo|{{{Monzo}}}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{Monzo|{{{Monzo}}}}}''' | | ||
<includeonly><span style="color:red">Error: Parameter ''Monzo'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | <includeonly><span style="color:red">Error: Parameter ''Monzo'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | ||
Line 51: | Line 51: | ||
</div><noinclude> | </div><noinclude> | ||
The template '''Infobox Interval''' was built to help presenting basic information about [[ | 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 65: | Line 65: | ||
|- | |- | ||
| '''Ratio''' | | '''Ratio''' | ||
| Frequency ratio of the interval | | Frequency [[ratio]] of the interval | ||
| | | | ||
|- | |- | ||
| '''Monzo''' | | '''Monzo''' | ||
| Parameters of the [[ | | Parameters of the [[Monzo]] notation | ||
| | | | ||
|- | |- |
Revision as of 13:36, 6 June 2020
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 cents | |
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 = }}