Template:Search link: Difference between revisions
Appearance
comments, spacing, functionality: use module:String to change any square brackets in "link=" labeled portion so it can label regex searches with the actual query |
put the nowiki's back so leading * and # are escaped from wiki markup |
||
| Line 54: | Line 54: | ||
-->|{{#invoke:String|replace | -->|{{#invoke:String|replace | ||
|{{#if: | |{{#if: | ||
{{{2|{{{link|}}}}}} | {{{2|{{{link|}}}}}}<!-- If a label is given, --> | ||
|{{{2|{{{link|}}}}}} | |<nowiki />{{{2|{{{link|}}}}}}<!-- protect it from a leading * or # --> | ||
|{{{1|{{{text|}}}}}}<!-- | |<nowiki />{{{1|{{{text|}}}}}}<!-- by using <nowiki /> (Help:wikitext) | ||
-->}}<!-- | -->}}<!-- | ||
-->|[|[}}<!-- ] with its html symbol | -->|[|[}}<!-- ] with its html symbol | ||
Revision as of 11:42, 12 July 2015
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]