Template:EDTs
{{#regex: |/(\d+)(\D+)?/|\1\2}} 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 edt, 2 edt, up to 99 edt 00}}
- You get (rendered)
- {{#regex: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11|/(\d+)(\D+)?/|\1\2}}
- {{#regex: 1 2 3 4 5 6 7 8 9 10 11|/(\d+)(\D+)?/|\1\2}}
- {{#regex: 1 edt, 2 edt, up to 99 edt 00|/(\d+)(\D+)?/|\1\2}} - disputable if leading zeros should be removed
- To include a legend, type
{{EDTs| legend=1 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
- So you get (rendered)
Technical notes
See also