Difference between revisions of "Template:ConceptContains"
Line 1: | Line 1: | ||
− | + | {{#vardefine: matchSearchResult | {{#ask: [[{{{1}}}]] | |
|format=template | |format=template | ||
|template=CheckPagesForMatch | |template=CheckPagesForMatch | ||
Line 6: | Line 6: | ||
|?{{PAGENAME}} | |?{{PAGENAME}} | ||
}} | }} | ||
− | }} | + | }}<includeonly><!-- |
-->{{#if: {{#pos: {{{1}}}|#_QUERY}} | | {{#ifexpr: {{#sub: {{#var: matchSearchResult}} |12 |-11 }} | -->{{#if: {{#pos: {{{1}}}|#_QUERY}} | | {{#ifexpr: {{#sub: {{#var: matchSearchResult}} |12 |-11 }} | ||
| [[{{{1}}}]] | | [[{{{1}}}]] |
Revision as of 19:36, 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