Difference between revisions of "Template:PatternDefinitionsAggregatingThisLexiconItem"

From OIAr
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
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}}}}
{| {{prettytable}}
[[Image:Doc inspect.png|left|24px|Semantic query]]
|'''Pattern Definition'''
{{#vardefine:numberofusages|{{#ask: [[Category:Pattern]][[Aggregates::{{#var:pagename}}]]|format=count}} }}
|'''Owner'''
{{#switch: {{#var:numberofusages}}
|'''Maturity'''
|0        = No Pattern Definition(s) based on this lexicon item (yet).
|-
|1        = The following Pattern Definition is based on this lexicon item:
{{#ask:[[Category:Pattern]][[Aggregates::{{#var:pagename}}]]
|#default = The following {{#var:proposals}} Patterns Definitions are based on this lexicon item:}}
|?Friendly name=Pattern Definition
{{#switch: {{#var:numberofusages}}
|?Owner
| 0      =
|?Page maturity=Maturity
|#default = {{SmartTable Pattern Usage}} }}
|format=template
|template=Table-row Semantic Query
|order=ascending
|default = ''No Pattern Definition(s) based on this lexicon item (yet)''}}
|}
<noinclude>
<noinclude>
|}
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 00:01, 28 November 2019

Semantic query

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


Template documentation