Jump to content

Template:Template usage: Difference between revisions

From Fifth Empire Wiki
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 [^{], \{{!}}, and insource:/\{} .
<!-- 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|{{#invoke:String|replace
     | 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}}:
       }}|[|&#91;}}|]|&#93;}}}}}<!-- end {{replace}} {{{name}}} -->
       }}|[|&#91;}}|]|&#93;}}}}}}}}<!-- end {{replace}} {{{label}}} -->
     }}<!-- End of plainlinks #1, true true
     }}<!-- End of plainlinks #1, true true


Line 163: Line 163:
         }}
         }}
       | name =  
       | name =  
       {{{name|{{#invoke:String|replace
       {{{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}}:
       }}|[|&#91;}}|]|&#93;}}}}}<!-- end {{replace}} {{{name}}} -->
       }}|[|&#91;}}|]|&#93;}}}}}}}}<!-- 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|{{#invoke:String|replace
       | name =  {{{2|{{{label|{{#invoke:String|replace
       |{{#invoke:String|replace
       |{{#invoke:String|replace
       |hastemplate:"{{{1|{{{template|Val}}}}}}"|[|&#91;}}|]|&#93;}}}}}
       |hastemplate:"{{{1|{{{template|Val}}}}}}"|[|&#91;}}|]|&#93;}}}}}}}}
     }} <!-- 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

hastemplate:"Val"