Template:EDOs: Difference between revisions

Xenwolf (talk | contribs)
accept numbers and non-numbers
Add slash to the pattern for fraction notation (e.g. ed2/1)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#regex: {{{1|}}}|/(\d+)(\D+)?/|[[\1edo|\1]]\2}}<noinclude>
<includeonly>{{#switch: {{{legend|}}}|1=[[EDO]]s:&nbsp;|0=EDOs:&nbsp;}}{{#rreplace: {{{1|}}}|/(\d+)([\w\*\/†′″]*)/|[[\1edo|\1\2]]}}</includeonly><noinclude>
 
{{Documentation}}
[[Category:Templates]]


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