Template:EDOs: Difference between revisions
Change regex rule for more complex wart notation |
Add slash to the pattern for fraction notation (e.g. ed2/1) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{legend|}}}|1=[[EDO]]s: |0=EDOs: }}{{#rreplace: {{{1|}}}|/(\d+)([\w\*†′″]*)/|[[\1edo|\1\2]]}}</includeonly><noinclude> | <includeonly>{{#switch: {{{legend|}}}|1=[[EDO]]s: |0=EDOs: }}{{#rreplace: {{{1|}}}|/(\d+)([\w\*\/†′″]*)/|[[\1edo|\1\2]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||