Difference between revisions of "Template:ConceptContains"

From ChatWars Wiki
Jump to: navigation, search
Line 10: Line 10:
 
{{{1}}}  [[{{{1}}}]]
 
{{{1}}}  [[{{{1}}}]]
  
{{#ifexpr: {{#sub: {{uc:{{#var: matchSearchResult}}}} |0 |-1 }}
+
{{#ifexpr: {{lc:{{#var: matchSearchResult}} }}
 
   | [[{{{1}}}]]
 
   | [[{{{1}}}]]
 
   | ded
 
   | ded
 
}}
 
}}
match search result string: "{{uc:{{#sub: {{#var: matchSearchResult}}}} |0 |-1 }}"
+
match search result string: "{{lc:{{#var: matchSearchResult}} }}"
 
</includeonly>
 
</includeonly>
  

Revision as of 19:10, 21 August 2018



This template searches through a Concept and checks if the parameter page (default to {{PAGENAME}}) is contained within that concept. Designed to be used by Template:ItemSet