Difference between revisions of "Template:Delink question hyphen-minus/sandbox"
Jump to navigation
Jump to search
imported>Ahecht (try old module again) |
imported>Ahecht (use multireplace) |
||
Line 1: | Line 1: | ||
− | {{safesubst | + | {{{{{|safesubst:}}}#invoke:MultiReplace|main|{{{1|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{{{{|safesubst:}}}!}} *(.-) *%]%]|%1}}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:39, 25 April 2018
![]() | This is the template sandbox page for Template:Delink question hyphen-minus (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
Usage
{{Delink question hyphen-minus|input text}}
{{Delink question hyphen-minus|1=input text}}
Delinks links to ? and -, for fields where these characters are often used as placeholders, and where links to the articles on the punctuation characters aren't useful.
You may substitute this template - that is, if used as {{subst:delink question hyphen-minus}}
, the resulting wikicode is "clean".
See also
- {{delink}}
- {{trim brackets}}
The above documentation is transcluded from Template:Delink question hyphen-minus/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |