Template:Template usage: Difference between revisions
Appearance
m Cpiral moved page Template:Val/find to Template:Template usage: improve location; descriptive title |
parameter name: change to label and upgraded to unnamed |
||
| Line 1: | Line 1: | ||
<!-- Curly brackets matching should ignore [^ | <!-- Curly brackets matching should ignore [^}], \{{!}}; insource:/\{} is OK. | ||
--><onlyinclude>{{#if: | --><onlyinclude>{{#if: | ||
{{{pattern|}}} | {{{pattern|}}} | ||
| 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 = {{{2|{{{label|{{#invoke:String|replace | ||
|{{#invoke:String|replace | |{{#invoke:String|replace | ||
|hastemplate:"{{{1|{{{template|Val}}}}}}"<!-- | |hastemplate:"{{{1|{{{template|Val}}}}}}"<!-- | ||
| Line 95: | Line 95: | ||
|118 = {{ns:118}}: | |118 = {{ns:118}}: | ||
|119 = {{ns:119}}: | |119 = {{ns:119}}: | ||
}}|[|[}}|]|]}}}}}<!-- end {{replace}} {{{ | }}|[|[}}|]|]}}}}}}}}<!-- end {{replace}} {{{label}}} --> | ||
}}<!-- End of plainlinks #1, true true | }}<!-- End of plainlinks #1, true true | ||
| Line 163: | Line 163: | ||
}} | }} | ||
| name = | | name = | ||
{{{ | {{{2|{{{label|{{#invoke:String|replace | ||
|{{#invoke:String|replace | |{{#invoke:String|replace | ||
|hastemplate:"{{{1|{{{template|Val}}}}}}"<!-- | |hastemplate:"{{{1|{{{template|Val}}}}}}"<!-- | ||
| Line 191: | Line 191: | ||
|118 = {{ns:118}}: | |118 = {{ns:118}}: | ||
|119 = {{ns:119}}: | |119 = {{ns:119}}: | ||
}}|[|[}}|]|]}}}}}<!-- end {{replace}} {{{ | }}|[|[}}|]|]}}}}}}}}<!-- end {{replace}} {{{label}}} --> | ||
}} <!-- end plainlinks #3 | }} <!-- end plainlinks #3 | ||
-->| <!-- PREFIX now false, PATTERN still false --> | -->| <!-- PREFIX now false, PATTERN still false --> | ||
| Line 202: | Line 202: | ||
}} | }} | ||
}} | }} | ||
| name = {{{ | | name = {{{2|{{{label|{{#invoke:String|replace | ||
|{{#invoke:String|replace | |{{#invoke:String|replace | ||
|hastemplate:"{{{1|{{{template|Val}}}}}}"|[|[}}|]|]}}}}} | |hastemplate:"{{{1|{{{template|Val}}}}}}"|[|[}}|]|]}}}}}}}} | ||
}} <!-- 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 01:34, 1 July 2015
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]