Template:Template usage: Difference between revisions
Appearance
pattern can be unnamed now |
No edit summary |
||
| Line 1: | Line 1: | ||
<!-- Curly brackets matching should ignore [^}], \{{!}}, insource:/\{} | <!-- Curly brackets matching should ignore [^}], \{{!}}, insource:/\{} | ||
--><onlyinclude>{{#if: | --><onlyinclude>{{#if: | ||
{{{pattern|2}}} | {{{pattern|{{{2|}}}}}} | ||
| <!-- PATTERN true --> | | <!-- PATTERN true --> | ||
{{#if: | {{#if: | ||
| Line 26: | Line 26: | ||
-->[^}]*<!-- Zero or more (*) All this shows in bold in the search results | -->[^}]*<!-- Zero or more (*) All this shows in bold in the search results | ||
-->{{{pattern|2}}}/<!--User part: last part of regexp, shows in bold too. | -->{{{pattern|{{{2}}}}}}/<!--User part: last part of regexp, shows in bold too. | ||
You saw the ending / of the /regexp/. | You saw the ending / of the /regexp/. | ||
You see the the space before prefix next: | You see the the space before prefix next: | ||
| Line 67: | Line 67: | ||
|{{uc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub | |{{uc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub | ||
|{{lc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}]{{#invoke:String|sub | |{{lc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}]{{#invoke:String|sub | ||
|{{{1|{{{template| | |{{{1|{{{template|Template usage}}}}}}|2}}\{{!}}<!-- | ||
-->[^}]*<!-- | -->[^}]*<!-- | ||
-->{{{pattern|2}}}/</kbd><!-- Namespace numbers need upkeep | -->{{{pattern|{{{2}}}}}}/</kbd><!-- Namespace numbers need upkeep | ||
--> prefix:{{#switch:{{{prefix}}} | --> prefix:{{#switch:{{{prefix}}} | ||
|#default = {{{prefix}}} | |#default = {{{prefix}}} | ||
| Line 108: | Line 108: | ||
|{{uc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub | |{{uc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub | ||
|{{lc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}]{{#invoke:String|sub | |{{lc:{{{1|{{{template|Template usage}}}}}}}}|1|1}}]{{#invoke:String|sub | ||
|{{{1|{{{template| | |{{{1|{{{template|Template usage}}}}}}|2}}\{{!}}<!-- | ||
-->[^}]*<!-- | -->[^}]*<!-- | ||
-->{{{pattern|2}}}/<!-- | -->{{{pattern|{{{2}}}}}}/<!-- | ||
--> prefix:{{FULLPAGENAME}} | --> prefix:{{FULLPAGENAME}} | ||
}} | }} | ||
| Line 121: | Line 121: | ||
|{{{1|{{{template|Template usage}}}}}}|2}}\{{!}}<!-- | |{{{1|{{{template|Template usage}}}}}}|2}}\{{!}}<!-- | ||
-->[^}]*<!-- | -->[^}]*<!-- | ||
-->{{{pattern|2}}}/</kbd>|[|[}}|]|]}} on this page. | -->{{{pattern|{{{2}}}}}}/</kbd>|[|[}}|]|]}} on this page. | ||
}}<!-- end plainlinks #2 --> | }}<!-- end plainlinks #2 --> | ||
}}<!-- end first nested #if:prefix --> | }}<!-- end first nested #if:prefix --> | ||
Revision as of 01:06, 15 July 2015
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]