Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
{{#ask:[[-HasVersionOverview::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]]|format=ul}}
{{#ask:[[-HasVersionOverview::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]]|format=ul}}
</td></tr>
</td></tr>
}}<!-- model of component
}}<!-- model of component and version
-->{{#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>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]] |format=ul}}
<tr><td><ul><li>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]}}
}}<!--
({{#ifeq:{{NAMESPACE}}||
version of model
--><ul><li>Version:{{#ifeq:{{NAMESPACE}}||
     {{#ask:[[IsCurrentVersion::true]][[IsVersionOf::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]] }}
     {{#ask:[[IsCurrentVersion::true]][[IsVersionOf::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]] }}
     |{{NAMESPACE}}
     |[[{{NAMESPACE}}]]
}}</li></ul><!--  
}})</li></ul><!--  
The components of this computer model
The components of this computer model
-->{{#arraymap:{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none}}|;|xx
-->{{#arraymap:{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none}}|;|xx

Revision as of 13:48, 17 October 2016

It should be called in the following format:

{{InfoBoxtemplate}}