Template:EDTs: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
Feature |
||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#switch: {{{legend|}}}|1=[[EDT]]s: |0=EDTs: }}{{#rreplace: {{{1|}}}|/(\d+)(\D+)?/|[[\1edt|\1]]\2}}</includeonly><noinclude> | ||
{{ | {{Documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 07:30, 12 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)