Template:Infobox ET: Difference between revisions

Inthar (talk | contribs)
mNo edit summary
Xenwolf (talk | contribs)
better remove the alias version. Stick to "Lemma case": Only fist letter uppercase, except for the MOS abbreviation
Line 14: Line 14:
{{#if: {{{Prime factorization|{{{Prime Factorization|}}}}}} |
{{#if: {{{Prime factorization|{{{Prime Factorization|}}}}}} |
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Prime factorization
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Prime factorization
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Prime factorization|{{{Prime factorization|}}}}}} '''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Prime factorization|{{{Prime Factorization|}}}}}} '''
}}
}}
|-
|-
{{#if: {{{Step size|{{{Step Size|}}}}}} |
{{#if: {{{Step size|{{{Step Size|}}}}}} |
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Step size
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Step size (¢)
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Step size|{{{Step Size|}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Step size|{{{Step Size|}}}}}}'''
}}
}}
|-
|-
{{#if: {{{Subgroup|{{{Subgroup|}}}}}} |
{{#if: {{{Subgroup|}}} |
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Subgroup
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Subgroup
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Subgroup|{{{Subgroup|}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Subgroup|}}}'''
}}
}}
|-
|-
Line 37: Line 37:
}}
}}
|-
|-
{{#if: {{{Important MOSes|{{{Important moses|}}}}}} |
{{#if: {{{Important MOS|{{{Important MOSes|{{{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 MOSes|{{{Important moses|}}}}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Important MOS|{{{Important MOSes|{{{Important moses|}}}}}}}}}'''
}}
}}
|-
|-
Line 46: Line 46:
}}
}}
|}
|}
</div><includeonly><!-- this includeonly section is for changing parameter names to regular form -->{{#if: {{{Names|}}}  
</div><includeonly><!-- this includeonly section is for changing parameter names to regular form -->{{#if: {{{Prime Factorization|}}}  
| [[Category:Todo:normalize interval parameters]]}}{{#if: {{{Color Name|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Step Size|}}}  
| [[Category:Todo:normalize interval parameters]]}}{{#if: {{{FJS Name|}}}  
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Fifth Type|}}}  
| [[Category:Todo:normalize interval parameters]]}}</includeonly><noinclude>
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Common Uses|}}}
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Important moses|}}}
| [[Category:Todo:normalize EDO parameters]]}}{{#if: {{{Example Composition|}}}
| [[Category:Todo:normalize EDO parameters]]}}</includeonly><noinclude>


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


{| class="wikitable"
{| class="wikitable"
! Parameter
! width="15%" | Parameter
! Meaning
! width="85%" | Meaning, usage hints
! Usage hints, Remarks
|-
|-
| Prime factorization  
| Prime factorization  
| Prime factorization of the equal temperament (e.g. 12 = 2<sup>2</sup> * 3)
| Prime factorization of the equal temperament (e.g. 12 = 2<sup>2</sup> * 3)
|
|-
|-
| '''Subgroup'''
| '''Subgroup'''
| The [[JI subgroup]] that the equal temperament is a temperament of
| The [[JI subgroup]] that the equal temperament is a temperament of
|
|-
|-
| '''Step size'''
| '''Step size'''
| One step of the equal temperament in cents
| One step of the equal temperament in cents
|
|-
|-
| Fifth type
| 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 <code>&lt;br&gt;</code>. If a fifth is the same as a fifth in a lower edo, then state that instead.
| 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 <code>&lt;br&gt;</code>. If a fifth is the same as a fifth in a lower edo, then state that instead.
|
|-
|-
| Important MOSes
| 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; types separated by <code>&lt;br&gt;</code>
| 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 <code>&lt;br&gt;</code>
|-
|-
| Common uses
| Common uses
| Common compositional uses of the equal temperament
| Common compositional uses of the equal temperament
|
|-
|-
| Example composition
| Example composition
| MP3 file name of the 1-minute example composition
| MP3 file name of the 1-minute example composition
|
|-
|-
| ''Score''
| ''Score''
| (only when Example composition given) Score of the 1-minute example composition
| (only when Example composition given) Score of the 1-minute example composition
|
|}
|}


Line 106: Line 101:
----
----


Empty template for copy &amp; paste (to avoid copying wrong values from edo pages:
Empty (Step size is self-filling) template for copy &amp; paste (to avoid copying wrong values from edo pages:
  <nowiki>{{Infobox ET
  <nowiki>{{Infobox ET
| Prime factorization =  
| Prime factorization =  
| Subgroup =  
| Subgroup =  
| Step size =  
| Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|3}}
| Fifth type =  
| Fifth type =  
| Common uses =  
| Common uses =