Difference between revisions of "Template:PatternDefinitionsAggregatingThisLexiconItem"

From OIAr
Jump to navigation Jump to search
Line 1: Line 1:
{{#vardefine:pagename|{{PAGENAME}}}}{{#if:{{{page|}}}|{{#vardefine:pagename|{{{page}}}}}}}{{#vardefine:typetest|{{#ask:[[{{#var:pagename}}]] [[Category:Pattern Definition]]|format=list|link=subject}}}}[[Image:Doc inspect.png|left|24px|Semantic query]]
{{#vardefine:pagename|{{PAGENAME}}}}{{#if:{{{page|}}}|{{#vardefine:pagename|{{{page}}}}}}}{{#vardefine:typetest|{{#ask:[[{{#var:pagename}}]] [[Category:Pattern Definition]]|format=list|link=subject}}}}[[Image:Doc inspect.png|left|24px|Semantic query]]
 
{{#vardefine:numberofusages|{{#ask: [[Category:Pattern]][[Aggregates::{{#var:pagename}}]]|format=count}} }}{{#switch: {{#var:numberofusages}}
{{#vardefine:proposals|{{#ask: [[Category:Pattern]][[Aggregates::{{#var:pagename}}]]|format=count}} }}{{#switch: {{#var:proposals}}
|0        = No Pattern Definition(s) based on this lexicon item (yet).
|0        = No Pattern Definition(s) based on this lexicon item (yet).
|1        = The following Pattern Definition is based on this lexicon item:
|1        = The following Pattern Definition is based on this lexicon item:

Revision as of 00:21, 27 November 2019

Semantic query

No Pattern Definition(s) based on this lexicon item (yet).

{{#ask:PatternDefinitionsAggregatingThisLexiconItem
Pattern Definition Owner Maturity
?Friendly name ?Owner ?Page maturity format=template template=Table-row Semantic Query order=ascending
Template documentation