User:Plumtree/Infobox Interval

From Xenharmonic Wiki
Revision as of 15:56, 12 October 2022 by Plumtree (talk | contribs)
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

There are three different ways to use this template:

  • Small ratios: {{Infobox Interval}} (the ratio is inferred from page name), {{Infobox Interval|7/4}}, {{Infobox Interval|Ratio=7/4}}.
    • In this form, Factorization, Subgroup, Ket/Monzo, Cents, FJS name, Norms, Harmonic entropy are computed automatically.
  • Large ratios: {{Infobox Interval|Ket=-2 0 0 1}}, {{Infobox Interval|Monzo=-2 0 0 1}}.
    • In this form, Ratio and Norms are omitted, Factorization, Subgroup, Cents, FJS name, Harmonic entropy are computed automatically.
  • Irrational intervals: {{Infobox Interval|Ratio=π|Cents=1981.795}}.
    • In this form, Factorization, Subgroup, Ket/Monzo, FJS name, Norms, Harmonic entropy are omitted.

The templates supports the following parameters:

Entry Parameter Meaning, usage notes.
Ratio 1, Ratio Frequency ratio of the interval.
Monzo Ket, Monzo Coefficients of the Monzo notation.
Cents Cents Size in cents.
Name Name Name(s) of the interval. Pages with missing values go into Category:Todo:add interval name.
Color 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 FJS name Functional Just System name.
Sound Sound Soundfile, if one exists. Only name of the file is required (no prefix "File:" and of course without brackets).

Example

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

{{Infobox Interval
| Name = Harmonic seventh
| Color name = z7, zo 7th
| Sound = jid_7_4_pluck_adu_dr220.mp3
}}

Boilerplates

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

{{Infobox Interval
| Name = 
| Color name = 
| Sound = 
}}

See also

[[Category:Templates]]