Difference between revisions of "Template:ConceptContains"
Line 1: | Line 1: | ||
− | {{#vardefine: matchSearchResult | {{#ask: [[{{{1}}}]] | + | <noinclude>{{#vardefine: matchSearchResult | {{#ask: [[{{{1}}}]] |
|format=template | |format=template | ||
|template=CheckPagesForMatch | |template=CheckPagesForMatch | ||
Line 6: | Line 6: | ||
|?{{PAGENAME}} | |?{{PAGENAME}} | ||
}} | }} | ||
− | }} | + | }}</noinclude><includeonly><!-- |
− | <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:35, 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