Template:PatternDefinitionsAggregatingThisLexiconItem: Difference between revisions

From OIAr
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:pagename|{{PAGENAME}}}}
{{#vardefine:pagename|{{PAGENAME}}}}
[[Image:Doc inspect.png|left|24px|Semantic query]]
[[Image:Doc inspect.png|left|24px|Semantic query]]
{{#vardefine:numberofusages|{{#ask: [[Category:Pattern]][[Aggregates::{{#var:pagename}}]]|format=count}} }}{{#switch: {{#var:numberofusages}}
{{#vardefine:numberofusages|{{#ask: [[Category:Pattern]][[Aggregates::{{#var:pagename}}]]|format=count}} }}
{{#switch: {{#var:numberofusages}}
  |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:
  |#default = The following {{#var:proposals}} Patterns Definitions are based on this lexicon item:}}
  |#default = The following {{#var:proposals}} Patterns Definitions are based on this lexicon item:}}
{{#switch: {{#var:numberofusages}}
{{#switch: {{#var:numberofusages}}
  |0       =
  | 0       =  
  |#default {|{{prettytable}}
  |#default = {{SmartTable Pattern Usage}} }}
|'''Pattern Definition'''
|'''Owner'''
|'''Maturity'''
|-
{{#ask: [[Category:Pattern Definition]][[Aggregates::{{#var:pagename}}]]
|?Friendly name
|?Owner
|?Page maturity
|link=none
|format=template
|template=Table-row Semantic Query
|order=ascending  }}
|}  }}
<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 23:01, 27 November 2019

Semantic query
Semantic query

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


Template documentation