Template:Infobox ET: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
+transform MOSes in parameter name into MOS and find Step size values with unit attached
Xenwolf (talk | contribs)
corrected boilerplate code, completely removed "Important moses" - never used and not likely to ever happen
Line 37: Line 37:
}}
}}
|-
|-
{{#if: {{{Important MOS|{{{Important MOSes|{{{Important moses|}}}}}}}}} |
{{#if: {{{Important MOS|{{{Important MOSes|}}}}}} |
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Important MOSes
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Important MOSes
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Important MOS|{{{Important MOSes|{{{Important moses|}}}}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Important MOS|{{{Important MOSes|}}}}}}'''
}}
}}
|-
|-
Line 50: Line 50:
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Fifth Type|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Fifth Type|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Common Uses|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Common Uses|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Important moses|}}}
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Important MOSes|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Important MOSes|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Example Composition|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Example Composition|}}}  
Line 96: Line 95:
| Fifth type = [[12edo]] 14\24 700¢ (-1.955¢)
| Fifth type = [[12edo]] 14\24 700¢ (-1.955¢)
| Common uses = Hyperchromatic 12edo, Westernized maqam, semaphore
| Common uses = Hyperchromatic 12edo, Westernized maqam, semaphore
| Important MOSes = semaphore 414144141 (generator: 5\24) <br> mohajira 3434343 (generator: 7\24) <br> mohajira 3313313313 (generator: 7\24)
| Important MOS = semaphore 414144141 (generator: 5\24) <br> mohajira 3434343 (generator: 7\24) <br> mohajira 3313313313 (generator: 7\24)
| Example composition =  
| Example composition =  
| Score =  
| Score =  
Line 110: Line 109:
| Fifth type =  
| Fifth type =  
| Common uses =  
| Common uses =  
| Important MOSes =  
| Important MOS =  
| Example composition =  
| Example composition =  
| Score =  
| Score =  

Revision as of 22:05, 3 December 2020

Infobox ET

The template Infobox ET was built to help presenting basic information about EDOs 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 templates supports the following parameters (highly requested parameters in bold):

Parameter Meaning, usage hints
Prime factorization Prime factorization of the equal temperament (e.g. 12 = 22 * 3)
Subgroup The JI subgroup that the equal temperament is a temperament of
Step size One step of the equal temperament in cents
Fifth type Type of fifth, for edos. (Some possiblities: mavila, 7edo, flattone, meantone, schismic, parapyth, archy, superpyth, 5edo, father), and possibly cents error from just perfect fifth if applicable. If the edo has more than one type, list all the types, separated by <br>. If a fifth is the same as a fifth in a lower edo, then state that instead.
Important MOS Important MOS types provided by the edo (but not by any subset), step sizes and number of L and s, period, and generator if the scale has multiple periods per octave; for multiple MOS types separate by <br>
Common uses Common compositional uses of the equal temperament
Example composition MP3 file name of the 1-minute example composition
Score (only when Example composition given) Score of the 1-minute example composition

Usage example for 24edo:

{{Infobox ET
| Prime factorization = 2<sup>3</sup> * 3
| Subgroup = 2.3.11.13.17.19
| Step size = 50¢
| Fifth type = [[12edo]] 14\24 700¢ (-1.955¢)
| Common uses = Hyperchromatic 12edo, Westernized maqam, semaphore
| Important MOS = semaphore 414144141 (generator: 5\24) <br> mohajira 3434343 (generator: 7\24) <br> mohajira 3313313313 (generator: 7\24)
| Example composition = 
| Score = 
}}

Empty (Step size is self-filling) template for copy & paste (to avoid copying wrong values from edo pages:

{{Infobox ET
| Prime factorization = 
| Subgroup = 
| Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|3}}
| Fifth type = 
| Common uses = 
| Important MOS = 
| Example composition = 
| Score = 
}}

See also

Todo: cleanup

Remove remains of Template:Infobox Interval, elaborate parameters before telling they would be "highly requested"