Jump to content

Template:Template usage: Difference between revisions

From Fifth Empire Wiki
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}}:
       }}|]|&#93;}}}}}</kbd><!-- end {{replace}} {{{name}}} -->
       }}|[|&#91;}}|]|&#93;}}}}}</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}}}|]|&#93;}}}}}
      {{#invoke:String|replace
       |Test regexp. Locate {{{template|Val}}}|[|&#91;}}|]|&#93;}}}}}
     }}<!-- 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}}:
       }}|]|&#93;}}}}}</kbd><!-- end {{replace}} {{{name}}} -->
       }}|[|&#91;}}|]|&#93;}}}}}</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}}}"|]|&#93;}}}}}</kbd>
      {{#invoke:String|replace
       |hastemplate:"{{{template|Val}}}"|[|&#91;}}]|&#93;}}}}}</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.]