Template:Template usage

{{plain link |url = {{fullurl:Special:Search|search={{urlencode:hastemplate:"{{{template|{{{1|Template usage}}}}}}" insource:/\{\{ *[{{#invoke:String|sub |{{uc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub |{{lc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}]{{#invoke:String|sub |{{{template|{{{1|Template usage}}}}}}|2}} *\{{!}}[^}]*{{{pattern|{{{2|regexp}}}}}}/ prefix:{{#switch: {{{prefix|{{{3|}}}}}} |#default = {{{prefix|{{{3|{{FULLPAGENAME}}}}}}}} |n = {{NAMESPACE}} |0|: = :           |1 = {{ns:1}}: |2 = {{ns:2}}: |3 = {{ns:3}}: |4 = {{ns:4}}: |5 = {{ns:5}}: |6 = {{ns:6}}: |7 = {{ns:7}}: |8 = {{ns:8}}: |9 = {{ns:9}}: |10 = {{ns:10}}: |11 = {{ns:11}}: |12 = {{ns:12}}: |13 = {{ns:13}}: |14 = {{ns:14}}: |15 = {{ns:15}}: |100 = {{ns:100}}: |101 = {{ns:101}}: |118 = {{ns:118}}: |119 = {{ns:119}}: |710 = {{ns:710}}: |711 = {{ns:711}}: |828 = {{ns:828}}: |829 = {{ns:829}}: }}       }}      }}  |name = {{#if: {{{label|{{{4|}}}}}} |{{{label|{{{4}}}}}} |{{#if: {{{prefix|{{{3|}}}}}}

|hastemplate:"{{{template|{{{1|Template usage}}}}}}" insource:/\{\{ *&#91;{{#invoke:String|sub |{{uc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}{{#invoke:String|sub |{{lc:{{{template|{{{1|Template usage}}}}}}}}|1|1}}&#93;{{#invoke:String|sub |{{{template|{{{1|Template usage}}}}}}|2}} *\{{!}}&#91;^}&#93;*{{#invoke:String|replace |{{#invoke:String|replace |{{{pattern|{{{2|regexp}}}}}}|[|&#91;}}|]|&#93;}}/ prefix:{{#switch: {{{prefix|{{{3|}}}}}} |#default = {{{prefix|{{{3|{{FULLPAGENAME}}}}}}}} |n = {{NAMESPACE}} |0|: = :         |1 = {{ns:1}}: |2 = {{ns:2}}: |3 = {{ns:3}}: |4 = {{ns:4}}: |5 = {{ns:5}}: |6 = {{ns:6}}: |7 = {{ns:7}}: |8 = {{ns:8}}: |9 = {{ns:9}}: |10 = {{ns:10}}: |11 = {{ns:11}}: |12 = {{ns:12}}: |13 = {{ns:13}}: |14 = {{ns:14}}: |15 = {{ns:15}}: |100 = {{ns:100}}: |101 = {{ns:101}}: |118 = {{ns:118}}: |119 = {{ns:119}}: |710 = {{ns:710}}: |711 = {{ns:711}}: |828 = {{ns:828}}: |829 = {{ns:829}}: }}     |{{#invoke:String|replace |{{#invoke:String|replace |Testing {{{pattern|{{{2}}}}}} on this page|[|&#91;}}|]|&#93;}} }}  }} }}  {{Documentation}}