Difference between revisions of "Template:ConceptContains"

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

Revision as of 18:44, 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