Template:EDTs/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| 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> | ||
| Line 20: | Line 21: | ||
=== Technical notes === | === Technical notes === | ||
* [[ | * [[Mw: Extension: RegexFunctions|Extension: RegexFunctions]] | ||
=== See also === | === See also === | ||
Revision as of 07:31, 12 October 2025
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)