Template:Infobox chord/doc

From Xenharmonic Wiki
Jump to navigation Jump to search
This template is implemented by the Lua module Module:Infobox chord.
This template invokes the following functions: infobox_chord from Infobox chord.
This template should not be substituted.

The Infobox Chord template was built to help presenting basic information about chords 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

This template currently only supports JI chords in harmonic form, like {{Infobox chord|4:5:6:7}}. The harmonics are inferred from the page name if not given explicitly. The optional Root parameter gives a harmonic number to be treated as the root of the chord.

The template will add the page to the categories when appropriate:

The template supports the following parameters:

Entry Parameter Meaning usage notes
Harmonics 1, Harmonics Chord as integer harmonics Specified explicitly or derived from page name.
Intervals from root Intervals relative to the first given harmonic Derived from the Harmonics parameter.
Prime limit Overall prime limit of the chord
Odd limit Odd limit of all intervals found within the chord.
debug Debug mode (disables categories)

Examples

Usage example:

{{Infobox chord
| 4:5:6:7
| ColorName = yo zo-7 or y,z7, har-7 or h7
}}
Chord information
Harmonics 4:5:6:7
Subharmonics 1/(105:84:70:60)
Intervals from root 1/15/43/27/4
Cents from root 386¢702¢969¢
Step intervals 5/4, 6/5, 7/6
Step cents 386¢, 316¢, 267¢
Color names yo zo-7 or y,z7
har-7 or h7
Prime limit 7
Genus 357 (105)
Intervallic odd limit 7
Otonal odd limit 7
Utonal odd limit 105
Consistent edos (d ≥ 2) 31edo*, 41edo*, 68edo*, 72edo*