Template:Infobox chord/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Bcmills (talk | contribs)
No edit summary
Bcmills (talk | contribs)
document Root parameter
Line 1: Line 1:
{{dochead}}
{{dochead}}
=== Usage ===
=== Usage ===
This template currently only supports JI chords in harmonic form, like <code><nowiki>{{Infobox Chord|4:5:6:7}}</nowiki></code>. The harmonics are inferred from the page name if not given explicitly.
This template currently only supports JI chords in harmonic form, like <code><nowiki>{{Infobox Chord|4:5:6:7}}</nowiki></code>. The harmonics are inferred from the page name if not given explicitly. The optional <code>Root</code> 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 will add the page to the categories when appropriate:

Revision as of 05:20, 12 August 2024

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 Harmonics.
Prime limit Overall prime limit of the chord. Derived from Harmonics.
Odd limit Odd limit of all intervals found within the chord. Derived from Harmonics.

Examples

Script error: No such module "Infobox Chord".

Usage example:

{{Infobox Chord
| 4:5:6:7
| Name = harmonic seventh chord, barbershop seventh
}}