Template:Infobox chord/doc: Difference between revisions

ArrowHead294 (talk | contribs)
m ArrowHead294 moved page Template:Infobox Chord/doc to Template:Infobox chord/doc: <nowiki>[[wikipedia:WP:NCCAPS|WP:NCCAPS]]</nowiki>
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}{{modlink}}
{{dochead}}{{lua}}
The '''Infobox Chord''' template was built to help presenting basic information about [[chord]]s 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 '''Infobox Chord''' template was built to help presenting basic information about [[chord]]s 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 ===
=== Usage ===
This template currently only supports JI chords in harmonic form, like <code>{<nowiki />{Infobox Chord|4:5:6:7}}</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.
This template currently only supports JI chords in harmonic form, like <code>{<nowiki />{Infobox chord|4:5:6:7}}</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:
Line 28: Line 28:
Usage example:
Usage example:
<pre>
<pre>
{{Infobox Chord
{{Infobox chord
| 4:5:6:7
| 4:5:6:7
| ColorName = yo zo-7 or y,z7, har-7 or h7
| ColorName = yo zo-7 or y,z7, har-7 or h7
Line 37: Line 37:
| Harmonics=4:5:6:7
| Harmonics=4:5:6:7
| ColorName = yo zo-7 or y,z7, har-7 or h7
| ColorName = yo zo-7 or y,z7, har-7 or h7
| debug=true}}{{clear}}
| debug=true
}}{{clear}}