Template:Template usage: Difference between revisions
Appearance
fixed width search link font |
fix [ problem |
||
| Line 61: | Line 61: | ||
| name = <kbd>{{{name|{{#invoke:String|replace | | name = <kbd>{{{name|{{#invoke:String|replace | ||
{{#invoke:String|replace | |||
|hastemplate:"{{{template|Val}}}"<!-- | |hastemplate:"{{{template|Val}}}"<!-- | ||
--> insource:/\{<!-- | --> insource:/\{<!-- | ||
| Line 94: | Line 95: | ||
|118 = {{ns:118}}: | |118 = {{ns:118}}: | ||
|119 = {{ns:119}}: | |119 = {{ns:119}}: | ||
}}|]|]}}}}}</kbd><!-- end {{replace}} {{{name}}} --> | }}|[|[}}|]|]}}}}}</kbd><!-- end {{replace}} {{{name}}} --> | ||
}}<!-- End of plainlinks #1, true true | }}<!-- End of plainlinks #1, true true | ||
| Line 114: | Line 115: | ||
}} | }} | ||
| name = {{{name|{{#invoke:String|replace | | name = {{{name|{{#invoke:String|replace | ||
|Test regexp. Locate {{{template|Val}}}|]|]}}}}} | {{#invoke:String|replace | ||
|Test regexp. Locate {{{template|Val}}}|[|[}}|]|]}}}}} | |||
}}<!-- end plainlinks #2 --> | }}<!-- end plainlinks #2 --> | ||
}}<!-- end first nested #if:prefix --> | }}<!-- end first nested #if:prefix --> | ||
| Line 157: | Line 159: | ||
| name = | | name = | ||
<kbd>{{{name|{{#invoke:String|replace | <kbd>{{{name|{{#invoke:String|replace | ||
{{#invoke:String|replace | |||
|hastemplate:"{{{template|Val}}}"<!-- | |hastemplate:"{{{template|Val}}}"<!-- | ||
--> prefix:{{#switch:{{{prefix}}} | --> prefix:{{#switch:{{{prefix}}} | ||
| Line 183: | Line 186: | ||
|118 = {{ns:118}}: | |118 = {{ns:118}}: | ||
|119 = {{ns:119}}: | |119 = {{ns:119}}: | ||
}}|]|]}}}}}</kbd><!-- end {{replace}} {{{name}}} --> | }}|[|[}}|]|]}}}}}</kbd><!-- end {{replace}} {{{name}}} --> | ||
}} <!-- end plainlinks #3 | }} <!-- end plainlinks #3 | ||
-->| <!-- PREFIX now false, PATTERN still false --> | -->| <!-- PREFIX now false, PATTERN still false --> | ||
| Line 195: | Line 198: | ||
}} | }} | ||
| name = <kbd>{{{name|{{#invoke:String|replace | | name = <kbd>{{{name|{{#invoke:String|replace | ||
|hastemplate:"{{{template|Val}}}"|]|]}}}}}</kbd> | {{#invoke:String|replace | ||
|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:51, 29 June 2015
[https://wiki.fifthempire.info/index.php?title=Special:Search&search=hastemplate%3A%22Val%22 Script error: The function "replace
hastemplate:"Val"]" does not exist.]
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]