Template:EDTs/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Dochead}}
{{Dochead}}{{substitute|no|}}
This template takes a collection of numbers and creates links to individual [[edt]] pages from it.
This template takes a collection of numbers and creates links to individual [[edt]] pages from it.


Line 14: Line 14:


; To include a legend, type:
; To include a legend, type:
* <code><nowiki>{{EDTs|legend=0| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
* <code><nowiki>{{EDTs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
* <code><nowiki>{{EDTs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>


; So you get (rendered):
; So you get (rendered):
* {{EDTs|legend=0| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
* {{EDTs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
* {{EDTs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}


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


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

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 edt pages from it.

Usage examples

You type
  • {{EDTs| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
  • {{EDTs| 1 2 3 4 5 6 7 8 9 10 11 }}
  • {{EDTs| 1, 3 and 12, but notably not 7 }}
You get (rendered)
To include a legend, type
  • {{EDTs|legend=0| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
  • {{EDTs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
So you get (rendered)

Technical notes

See also