Template:Infobox interval: Difference between revisions
Jump to navigation
Jump to search
m typo fixed |
added "Color name" (alias: "Color Name", "color name") |
||
Line 22: | Line 22: | ||
|- | |- | ||
| style="text-align:right" | Name(s) || '''{{{Name|{{{Names|[[Template:Infobox Interval|Names?]]}}}}}}''' | | style="text-align:right" | Name(s) || '''{{{Name|{{{Names|[[Template:Infobox Interval|Names?]]}}}}}}''' | ||
|- | |||
{{#if: {{{Color name|{{{Color Name}}}}}} | | |||
{{!}} style="text-align:right" {{!}} [[Kite's color notation|Color name]] | |||
{{!}} {{{Color name|{{{Color Name}}}}}} | |||
}} | |||
|- | |- | ||
{{#if: {{{Sound|}}} | | {{#if: {{{Sound|}}} | | ||
Line 61: | Line 66: | ||
| Soundfile is one exists | | Soundfile is 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]], if one exists | |||
| | |||
|} | |} | ||
Line 71: | Line 80: | ||
| Name = Harmonic seventh | | Name = Harmonic seventh | ||
| Sound = jid_7_4_pluck_adu_dr220.mp3 | | Sound = jid_7_4_pluck_adu_dr220.mp3 | ||
| Color name = z7 | |||
}}</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 84: | Line 94: | ||
| Name = | | Name = | ||
| Sound = | | Sound = | ||
| Color name = | |||
}}</nowiki> | }}</nowiki> | ||
Revision as of 08:27, 15 October 2018
Ratio | Ratio? |
Monzo | [Monzo?⟩ |
Size in Cents (¢) | Cents? |
Name(s) | Names? |
Color name | {{{Color Name}}} |
The template Infobox Interval was built to help presenting basic informations 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 |
---|---|---|
Icon | Image or symbol, 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? |
Sound | Soundfile is one exists | only name of the file (no prefix "File:" and of course without Brackets) |
Color name | Color name after Kite's color notation, if one exists |
Usage example for the harmonic seventh (7/4):
{{Infobox Interval | Icon = [[File:glyph_7_4.png|alt=glyph 7 4.png|124x112px|glyph 7 4.png]] <small><br/>JI glyph for 7/4</small> | Ratio = 7/4 | Monzo = -2 0 0 1 | Cents = 968.82591 | Name = Harmonic seventh | Sound = jid_7_4_pluck_adu_dr220.mp3 | Color name = z7 }}
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 | Icon = | Ratio = | Monzo = | Cents = | Name = | Sound = | Color name = }}