Template:PatternRealizingThisService: Difference between revisions

From OIAr
Jump to navigation Jump to search
(template started)
 
(cut down the diagnostic message)
 
(5 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:Generic Service]]|format=list|link=none}}}}{{#vardefine:kind|{{#ifexist:{{#var:typetest}} | Generic | Applied }}}}[[Image:Doc inspect.png|left|24px|Semantic query]]{{#ask:
{{#vardefine:pagename|{{PAGENAME}}}}{{#if:{{{page|}}}|{{#vardefine:pagename|{{{page}}}}}}}{{#vardefine:typetest|{{#ask:[[{{#var:pagename}}]] [[Category:Generic Service]]|format=list|link=none}}}}{{#vardefine:kind|{{#ifexist:{{#var:typetest}} | Generic | Applied }}}}{{#switch:{{#ask: [[Category:{{#var:kind}} Pattern]][[Realizes::{{#var:pagename}}]]|format=count}}
[[Category:{{#var:kind}} Pattern]][[Realizes::{{#var:pagename}}]]
|0=(no {{#var:kind}} pattern found)
|mainlabel=-
|1={{#vardefine:pattern|{{#ask: [[Category:{{#var:kind}} Pattern]][[Realizes::{{#var:pagename}}]]|link=none}}}}{{FriendlyPageLink|{{#var:pattern}}}} ({{#show: {{#var:pattern}} |?Brief description}})
|?Friendly name=Pattern
|{{#ask: [[Category:{{#var:kind}} Pattern]][[Realizes::{{#var:pagename}}]]|link=none|format=template|template=PrintPatterns}}
|?Owner
|?Page maturity=Maturity
|format=table
|order=ascending
|default = ''No {{#var:kind}} Pattern found that realizes this {{#var:kind}} Service (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 12:47, 8 May 2015

(no Applied pattern found)

Template documentation