Difference between revisions of "Template:ConceptContains"

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

Revision as of 09:24, 30 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