Template:PatternRealizingThisService: Difference between revisions
Jump to navigation
Jump to search
(template started) |
(improve showing pattern) |
||
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 }}}} | {{#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 }}}}{{#vardefine:pattern|{{#ask: [[Category:{{#var:kind}} Pattern]][[Realizes::{{#var:pagename}}]]|link=none}}{{#if: {{#var:pattern}}|{{FriendlyPageLink|{{#var:pattern}}}} ({{#show: {{#var:pattern}} |?Brief description}})|(no {{#var:kind}} pattern found that realizes this {{#var:kind}} service)<noinclude> | ||
[[Category:{{#var:kind}} Pattern]][[Realizes::{{#var:pagename}}]] | |||
| | |||
| | |||
| | |||
|? | |||
| | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 05:42, 23 April 2013
{{#vardefine:pattern|{{#if: |no link ()|(no Applied pattern found that realizes this Applied service)
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. |