Difference between revisions of "Template:ConceptContains"

From ChatWars Wiki
Jump to: navigation, search
Line 8: Line 8:
 
}}
 
}}
 
<includeonly>
 
<includeonly>
{{#if: {{#pos: #_QUERY|{{{1}}} }} | | {{#ifexpr: {{#sub: {{#var: matchSearchResult}} |12 |-11 }}
+
{{#if: {{#pos: {{{1}}}|#_QUERY}} | | {{#ifexpr: {{#sub: {{#var: matchSearchResult}} |12 |-11 }}
 
                                         | [[{{{1}}}]]
 
                                         | [[{{{1}}}]]
 
                                       }}
 
                                       }}

Revision as of 19:21, 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