Template:EDOs/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
Update
Line 1: Line 1:
{{Dochead}}{{substitute|no|}}
{{Dochead}}{{substitute|no|}}
This template takes a collection of numbers and creates links to individual [[edo]] pages from it.
The '''EDOs''' template takes a collection of numbers and creates links to individual [[edo]] pages from it. Alphabetic characters (e.g. <code>edo</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]].  


=== Usage examples ===
=== Usage ===
; 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>
Line 22: Line 22:


=== Technical notes ===
=== Technical notes ===
* [[mw: Extension: RegexFunctions|Extension: RegexFunctions]]
This template calls [[mw: Extension: RegexFunctions|Extension: RegexFunctions]] to match the strings.


=== See also ===
=== See also ===

Revision as of 17:12, 13 October 2026

This template should not be substituted.

The EDOs template takes a collection of numbers and creates links to individual edo pages from it. Alphabetic characters (e.g. edo) immediately after a number are included in the link, as well as asterisk (*), dagger (†), prime (′) and double-prime (″) to help with extended wart notation.

Usage

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

This template calls Extension: RegexFunctions to match the strings.

See also