Template:Template usage: Difference between revisions
Appearance
fix the ] problem in the search link name |
fixed width search link font |
||
| Line 60: | Line 60: | ||
For show, appearance of link looks just like the query: --> | For show, appearance of link looks just like the query: --> | ||
| name = < | | name = <kbd>{{{name|{{#invoke:String|replace | ||
|hastemplate:"{{{template|Val}}}"<!-- | |hastemplate:"{{{template|Val}}}"<!-- | ||
--> insource:/\{<!-- | --> insource:/\{<!-- | ||
| Line 94: | Line 94: | ||
|118 = {{ns:118}}: | |118 = {{ns:118}}: | ||
|119 = {{ns:119}}: | |119 = {{ns:119}}: | ||
}}|]|]}}}}}</ | }}|]|]}}}}}</kbd><!-- end {{replace}} {{{name}}} --> | ||
}}<!-- End of plainlinks #1, true true | }}<!-- End of plainlinks #1, true true | ||
| Line 113: | Line 113: | ||
}} | }} | ||
}} | }} | ||
| name = | | name = {{{name|{{#invoke:String|replace | ||
|Test regexp. Locate {{{template|Val}}}|]|]}}}}} | |Test regexp. Locate {{{template|Val}}}|]|]}}}}} | ||
}}<!-- end plainlinks #2 --> | }}<!-- end plainlinks #2 --> | ||
}}<!-- end first nested #if:prefix --> | }}<!-- end first nested #if:prefix --> | ||
| Line 156: | Line 156: | ||
}} | }} | ||
| name = | | name = | ||
< | <kbd>{{{name|{{#invoke:String|replace | ||
|hastemplate:"{{{template|Val}}}"<!-- | |hastemplate:"{{{template|Val}}}"<!-- | ||
--> prefix:{{#switch:{{{prefix}}} | --> prefix:{{#switch:{{{prefix}}} | ||
| Line 183: | Line 183: | ||
|118 = {{ns:118}}: | |118 = {{ns:118}}: | ||
|119 = {{ns:119}}: | |119 = {{ns:119}}: | ||
}}|]|]}}}}}</ | }}|]|]}}}}}</kbd><!-- end {{replace}} {{{name}}} --> | ||
}} <!-- end plainlinks #3 | }} <!-- end plainlinks #3 | ||
-->| <!-- PREFIX now false, PATTERN still false --> | -->| <!-- PREFIX now false, PATTERN still false --> | ||
| Line 194: | Line 194: | ||
}} | }} | ||
}} | }} | ||
| name = < | | name = <kbd>{{{name|{{#invoke:String|replace | ||
|hastemplate:"{{{template|Val}}}"|]|]}}}}}</ | |hastemplate:"{{{template|Val}}}"|]|]}}}}}</kbd> | ||
}} <!-- end plainlinks #4 --> | }} <!-- end plainlinks #4 --> | ||
}} <!-- end of second nested #if:prefix --> | }} <!-- end of second nested #if:prefix --> | ||
}}</onlyinclude><!-- end of first, opening #if:pattern --> | }}</onlyinclude><!-- end of first, opening #if:pattern --> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||
Revision as of 21:39, 29 June 2015
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]