Template:Colored note/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
{{dochead}}
This template renders colored notes for [[EDO]]s where coloration can be used as accidentals.
In some tunings, sharps raise by three or more steps, which makes half-sharps and half-flats insufficient. Colors can be used to indicate raising or lowering in these cases.


=== Usage ===
=== Usage ===
In some tunings, sharps raise by three or more steps, and so half-sharps and half-flats are insufficient. Colors can be used to indicate raising or lowering in these cases.
=== Examples ===
{| class="wikitable center-all"
{| class="wikitable center-all"
|-
! You type
! You type
! You get
! You get
|-
|-
| <code><nowiki>{{colored note|red|A}}</nowiki></code>
| <code><nowiki>{{colored note|red|A}}</nowiki></code>
| {{colored note|red|A}}
| {{{{ROOTPAGENAME}}|red|A}}
|-
|-
| <code><nowiki>{{colored note|green|A}}</nowiki></code>
| <code><nowiki>{{colored note|green|A}}</nowiki></code>
| {{colored note|green|A}}
| {{{{ROOTPAGENAME}}|green|A}}
|-
|-
| <code><nowiki>{{colored note|blue|A}}</nowiki></code>
| <code><nowiki>{{colored note|blue|A}}</nowiki></code>
| {{colored note|blue|A}}
| {{{{ROOTPAGENAME}}|blue|A}}
|-
| <code><nowiki>{{colored note|yellow|A}}</nowiki></code>
| {{{{ROOTPAGENAME}}|yellow|A}}
|-
|-
| <code><nowiki>{{colored note|black|A}}</nowiki></code>
| <code><nowiki>{{colored note|black|A}}</nowiki></code>
| rowspan="2" | {{colored note|A}}
| rowspan="2" | {{{{ROOTPAGENAME}}|A}}
|-
|-
| <code><nowiki>{{colored note|A}}</nowiki></code>
| <code><nowiki>{{colored note|A}}</nowiki></code>
|}
|}
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 18:16, 30 January 2025

In some tunings, sharps raise by three or more steps, which makes half-sharps and half-flats insufficient. Colors can be used to indicate raising or lowering in these cases.

Usage

You type You get
{{colored note|red|A}}  A 
{{colored note|green|A}}  A 
{{colored note|blue|A}}  A 
{{colored note|yellow|A}}  A 
{{colored note|black|A}}  A 
{{colored note|A}}