Template:EDTs: Difference between revisions

BudjarnLambeth (talk | contribs)
Created template
 
ArrowHead294 (talk | contribs)
No edit summary
Line 2: Line 2:
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.


== Usage examples ==
{{doc}}
 
; You type:
* <code><nowiki>{{EDTs|1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}</nowiki></code>
* <code><nowiki>{{EDTs|1 2 3 4 5 6 7 8 9 10 11}}</nowiki></code>
* <code><nowiki>{{EDTs|1 edt, 2 edt, up to 99 edt 00}}</nowiki></code>
 
; You get (rendered):
* {{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}} - disputable if leading zeros should be removed
 
; To include a legend, type:
* <code><nowiki>{{EDTs| legend=1 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
 
; So you get (rendered):
* {{EDTs| legend=1 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}
 
== Technical notes ==
* [https://www.mediawiki.org/wiki/Extension:Regex_Fun MediaWiki: Extension: Regex Fun]
 
== See also ==
* [[Template: EDFs]]
* [[Template: EDOs]]
* [[Template: Optimal ET sequence]]


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>