Template:EDTs: Difference between revisions

Feature
Add slash to the pattern for fraction notation (e.g. ed3/1)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{legend|}}}|1=[[EDT]]s:&nbsp;|0=EDTs:&nbsp;}}{{#rreplace: {{{1|}}}|/(\d+)(\D+)?/|[[\1edt|\1]]\2}}</includeonly><noinclude>
<includeonly>{{#switch: {{{legend|}}}|1=[[EDT]]s:&nbsp;|0=EDTs:&nbsp;}}{{#rreplace: {{{1|}}}|/(\d+)([\w\*\/†′″]*)/|[[\1edt|\1\2]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}


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