Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
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><ul><li>{{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]}}
<tr><td><ul>
(version: {{#ifeq:{{NAMESPACE}}||<!-- main namespace-->
<li>{{#arraymap:
    {{#ask:[[IsCurrentVersion::true]][[IsVersionOf::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]] }}
      {{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none|sep=;}}
    |[[{{NAMESPACE}}]]
      |;|xx
}})</li></ul><!--  
      |(version:<!--
      -->{{#ifeq:{{NAMESPACE}}||<!-- main namespace
        -->{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]] }}<!--
        -->|[[{{NAMESPACE}}]]<!--
      -->}}<!--
    -->)<!--
  -->|}}</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 14:25, 7 July 2017

It should be called in the following format:

{{InfoBoxtemplate}}