Template:PatternDefinitionsAggregatingThisLexiconItem: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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: | |||
|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 23:21, 26 November 2019
No Pattern Definition(s) based on this lexicon item (yet).
{{#ask:PatternDefinitionsAggregatingThisLexiconItemPattern Definition | Owner | Maturity | |||
?Friendly name | ?Owner | ?Page maturity | format=template | template=Table-row Semantic Query | order=ascending |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |