Difference between revisions of "Template:InfoBoxTemplate"
Oostenrijr (talk | contribs) |
Oostenrijr (talk | contribs) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
-->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0|| | -->{{#ifeq:{{PropertyTestTemplate|prop=IsImplementationOf|page={{ROOTPAGENAME}}|reverse=1 }}|0|| | ||
<tr><td class="InfoBoxCellStyleTemplate">Component is implemented in:</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Component is implemented in:</td></tr> | ||
− | <tr><td | + | <tr><td>{{#arraymap: |
− | + | {{#ask:[[Concept:ModelWithVersion]][[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none|sep=;}} | |
− | + | |;|yy | |
− | + | |{{#arraymap: {{#ask:[[Category:ModelVersion]][[IsVersionOf::yy]]|link=none|sep=;}} | |
− | + | |;|xx | |
− | + | |{{#ifeq:{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy]]|link=none}}|xx | |
− | + | |<ul><li>yy (version {{#show:xx|? HasVersionNumber}})</li></ul> | |
− | + | {{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]] | |
− | + | |intro=Aggregated component:|format=ul | |
− | + | }}{{#ask:[[Category:Component]][[-IsImplementationOf::yy]] | |
− | + | |intro=Components:|format=ul}} | |
− | + | |}} | |
− | + | |}} | |
− | + | | and }} | |
− | + | </td></tr><!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | -->{{#ifeq:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0|| | ||
<tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> | <tr><td class="InfoBoxCellStyleTemplate">Related IMAGE components</td></tr> |
Revision as of 08:13, 1 August 2017
It should be called in the following format:
{{InfoBoxtemplate}}