Template:Infobox interval: Difference between revisions
Jump to navigation
Jump to search
Fix spaced and/or newlined ratios for xen-calc (huge ratios still broken from xen-calc's part but this is our part). Prepare to get rid of JI glyph |
+category: rational intervals |
||
| Line 62: | Line 62: | ||
}} | }} | ||
|} | |} | ||
</div><!-- this section is for changing parameter names to regular form -->{{#if: {{{Names|}}} | </div> | ||
[[Category:Rational intervals]]<!-- this section is for changing parameter names to regular form -->{{#if: {{{Names|}}} | |||
| [[Category:Todo:normalize interval parameters]]}}{{#if: {{{Color Name|}}} | | [[Category:Todo:normalize interval parameters]]}}{{#if: {{{Color Name|}}} | ||
| [[Category:Todo:normalize interval parameters]]}}{{#if: {{{FJS Name|}}} | | [[Category:Todo:normalize interval parameters]]}}{{#if: {{{FJS Name|}}} | ||
Revision as of 01:19, 22 November 2021
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 |
|---|---|---|
| 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
- Template:Infobox ET
- xen-calc – the according page of that tool gets linked automatically if the
Ratioparameter is filled in