User:Xenwolf/SandBox: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
+template project
Xenwolf (talk | contribs)
Line 116: Line 116:


As to see the impact of CSS classes, make a copy [[User:Xenwolf/vector.css]] in you user namespace.
As to see the impact of CSS classes, make a copy [[User:Xenwolf/vector.css]] in you user namespace.
== [[Template:EDOs]] ==
todo: this template takes a collection of numbers and creates links to edo pages from it.
* https://www.mediawiki.org/wiki/Extension:ParserFunctions
* https://www.mediawiki.org/wiki/Extension:Regex_Fun
<code><nowiki>{{#regex: text | pattern | replacement | limit }}</nowiki></code>
<code><nowiki>{{#regex: text | pattern | replacement | limit }}</nowiki></code>
<code><nowiki>{{#regex: text | pattern | replacement | limit }}</nowiki></code>
<code><nowiki>{{#regex: text | pattern | replacement | limit }}</nowiki></code>
<code><nowiki>{{#regex: text | pattern | replacement | limit }}</nowiki></code>
<code><nowiki>{{#regex: text | pattern | replacement | limit }}</nowiki></code>

Revision as of 23:09, 31 May 2020

Testing User:Xenwolf/Template:Cents:

1901.955

1901.95500

10/9

Monzo, Val

"1 2 -1"

Template:Monzo:

  • XXX [-19 12 XXX
  • XXX[-19 12XXX
  • XXX[0XXX

Template:Val:

  • XXX 31 49 72 87] XXX
  • XXX31 49 72 87]XXX
  • XXX0]XXX

Alignment of Table cells

The idea is to reduce inline CSS style

Degree Solfege Cents approx. ratios of
2.3.5.13.17 subgroup
additional ratios
of 7 and 11
Ups and downs
notation
0 do 0.000 1/1 P1 perfect unison D
1 di 35.294 128/125 (diesis), 51/50 50/49, 49/48 ^1, vm2 up unison, downminor 2nd ^D, vEb
2 rih 70.588 25/24, 648/625 (large diesis) m2 minor 2nd Eb
3 ra 105.882 17/16, 18/17, 16/15 15/14 ^m2 upminor 2nd ^Eb
4 ru 141.176 13/12 14/13, 12/11 ~2 mid 2nd vvE
5 reh 176.471 10/9 11/10 vM2 downmajor 2nd vE
6 re 211.765 9/8, 17/15 M2 major 2nd E
7 raw 247.059 15/13 8/7 ^M2, vm3 upmajor 2nd, downminor 3rd ^E, vF

As to see the impact of CSS classes, make a copy User:Xenwolf/vector.css in you user namespace.