Template:Infobox MOS: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Inthar (talk | contribs)
create sandbox page for mos infobox template
 
Inthar (talk | contribs)
mNo edit summary
Line 24: Line 24:
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Generator range
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Generator range
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Generator range|}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Generator range|}}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Equalized
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Equalized|}}}'''
|-
|-
|
|
Line 56: Line 52:
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Superhard
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Superhard
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Superhard|}}}'''
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Superhard|}}}'''
|-
|
  {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Paucitonic
  {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Paucitonic|}}}'''
|-
|-
|}
|}

Revision as of 04:50, 25 March 2021

Infobox MOS
Period 1\1
Generator range '
Supersoft '
Soft '
Semisoft '
Quintessential '
Semihard '
Hard '
Superhard '

The template Infobox MOS was built to help presenting basic information about MOSes 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:

Parameter Meaning, usage hints
nLargeSteps Number of large steps
nSmallSteps Number of small steps
Equave An equivalence interval (default = 2/1)
Equalized Generator of the mos pattern for the equalized (s = L) equal temperament tuning, in steps of ed(Equave)
Paucitonic Generator of the mos pattern for the paucitonic (s = 0) equal temperament tuning, in steps of ed(Equave)
Pattern Pattern of one mode of the MOS, in L's and s's.

Usage example for 5L 2s:

{{Infobox ET
| nLargeSteps = 5
| nSmallSteps = 2
| Equalized = 4
| Paucitonic = 3
| Pattern = LLsLLLs
}}

Self-filling template for copy & paste:

{{Infobox ET
| Prime factorization = 
| Step size = {{subst:#number_format:{{subst:#expr:1200/{{subst:#regex:{{subst:PAGENAME}}|/(\d+)-?EDO/i|\1}}}}|3}}
| Fifth = 
| Major 2nd = 
| Minor 2nd = 
| Augmented 1sn = 
}}

See also