Template:EDOs/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Cleanup and document the new functionality
ArrowHead294 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{dochead}}
{{Dochead}}{{substitute|no|}}
This template takes a collection of numbers and creates links to individual [[edo]] pages from it.
 
=== Usage examples ===
=== Usage examples ===
; You type:
; You type:
* <code><nowiki>{{EDOs| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
* <code><nowiki>{{EDOs| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
* <code><nowiki>{{EDOs| 1 2 3 4 5 6 7 8 9 10 11 }}</nowiki></code>
* <code><nowiki>{{EDOs| 1 2 3 4 5 6 7 8 9 10 11 }}</nowiki></code>
* <code><nowiki>{{EDOs| 1 edo, 2 edo, up to 99 edo 00 }}</nowiki></code>
* <code><nowiki>{{EDOs| 1edo, 2edo, up to 99edo }}</nowiki></code>


; You get (rendered):
; You get (rendered):
* {{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 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 }}
* {{EDOs| 1edo, 2edo, up to 99edo }}
<!-- It is disputable if leading zeros should be removed -->


; To include a legend, type:
; To include a legend, type:
Line 21: Line 22:


=== Technical notes ===
=== Technical notes ===
* [[Mw: Extension: Regex Fun|MediaWiki: Extension: Regex Fun]]
* [[mw: Extension: RegexFunctions|Extension: RegexFunctions]]


=== See also ===
=== See also ===
* [[Template: Optimal ET sequence]]
* [[Template: Optimal ET sequence]]
* [[Template: EDFs]]
* [[Template: EDTs]]
* [[Template: EDs]]

Latest revision as of 03:25, 14 October 2025

This template should not be substituted.

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| 1edo, 2edo, up to 99edo }}
You get (rendered)
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)

Technical notes

See also