Template:EDOs

From Xenharmonic Wiki
Revision as of 18:28, 30 January 2025 by ArrowHead294 (talk | contribs)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template takes a collection of numbers and creates links to individual edo pages from it.

Usage examples

You type
  • {{EDOs| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
  • {{EDOs| 1 2 3 4 5 6 7 8 9 10 11 }}
  • {{EDOs| 1 edo, 2 edo, up to 99 edo 00 }}
You get (rendered)
  • {{#regex: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 |/(\d+)(\D+)?/|\1\2}}
  • {{#regex: 1 2 3 4 5 6 7 8 9 10 11 |/(\d+)(\D+)?/|\1\2}}
  • {{#regex: 1 edo, 2 edo, up to 99 edo 00 |/(\d+)(\D+)?/|\1\2}}
To include a legend, type
  • {{EDOs|legend=0| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
  • {{EDOs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
So you get (rendered)
  • EDOs: {{#regex: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 |/(\d+)(\D+)?/|\1\2}}
  • EDOs: {{#regex: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 |/(\d+)(\D+)?/|\1\2}}

Technical notes

See also