Template:EDTs: Difference between revisions
Feature |
Change regex rule for more complex wart notation. This also fixes numbers (e.g. "ed3") not being included as part of the link. |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{legend|}}}|1=[[EDT]]s: |0=EDTs: }}{{#rreplace: {{{1|}}}|/(\d+)(\ | <includeonly>{{#switch: {{{legend|}}}|1=[[EDT]]s: |0=EDTs: }}{{#rreplace: {{{1|}}}|/(\d+)([\w\*†′″]*)/|[[\1edt|\1\2]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||