Template:EDs/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Update
Update
 
Line 1: Line 1:
{{Dochead}}{{substitute|no|}}
{{Dochead}}{{substitute|no|}}
The '''EDs''' template takes a collection of numbers and an [[equave]] to create links to individual [[equal division]] pages from it. Alphanumeric characters (e.g. <code>ed5</code>) immediately after a number are included in the link, as well as asterisk (<code>*</code>), dagger (<code>†</code>), prime (<code>′</code>) and double-prime (<code>″</code>) to help with extended [[wart notation]].  
The '''EDs''' template takes a collection of numbers and an [[equave]] to create links to individual [[equal division]] pages from it. Alphanumeric characters (e.g. <code>ed5</code>) immediately after a number are included in the link, as well as asterisk (<code>*</code>), slash (<code>/</code>), dagger (<code>†</code>), prime (<code>′</code>) and double-prime (<code>″</code>) to help with fraction notation and extended [[wart notation]].  


{{Note| For [[edo]]s, [[edt]]s, and [[edf]]s, use [[Template: EDOs]], [[Template: EDTs]], and [[Template: EDFs]], respectively. }}
{{Note| For [[edo]]s, [[edt]]s, and [[edf]]s, use [[Template: EDOs]], [[Template: EDTs]], and [[Template: EDFs]], respectively. }}

Latest revision as of 17:43, 13 October 2026

This template should not be substituted.

The EDs template takes a collection of numbers and an equave to create links to individual equal division pages from it. Alphanumeric characters (e.g. ed5) immediately after a number are included in the link, as well as asterisk (*), slash (/), dagger (†), prime (′) and double-prime (″) to help with fraction notation and extended wart notation.

📝Note: For edos, edts, and edfs, use Template: EDOs, Template: EDTs, and Template: EDFs, respectively.

Usage examples

You type
  • {{EDs|equave=5| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
  • {{EDs|equave=5| 1 2 3 4 5 6 7 8 9 10 11 }}
  • {{EDs|equave=5| 1ed5, 2ed5, up to 99ed5 }}
You get (rendered)
To include a legend, type
  • {{EDs|equave=5|legend=0| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
  • {{EDs|equave=5|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
So you get (rendered)

Technical notes

This template calls Extension: RegexFunctions to match the strings.

See also