Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
Line 9: Line 9:
existing data for infobox
existing data for infobox
--><div class="InfoBoxTemplateClear"><table class="InfoBoxStyle"> <!--
--><div class="InfoBoxTemplateClear"><table class="InfoBoxStyle"> <!--
-->{{#ifeq: {{#ask:[[-HasVersionOverview::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]]|format =count}}|0||
<tr><td class="InfoBoxCellStyleTemplate">Version Overviews</td></tr>
<tr><td>
{{#ask:[[IMAGE framework version overview]]|format=ul}}
{{#ask:[[-HasVersionOverview::<q>[[IsImplementationOf::{{ROOTPAGENAME}}]]</q>]]|format=ul}}
</td></tr>
}}<!-- 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>
Line 24: Line 17:
     |;|xx
     |;|xx
     |{{#ifeq:{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy]]|link=none}}|xx
     |{{#ifeq:{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy]]|link=none}}|xx
       |<ul><li>yy (version {{#show:xx|? HasVersionNumber}})</li></ul>
       |<ul><li>[[yy]] (version {{#ask:[[xx]]|format=list}})</li></ul>
       {{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]]
       {{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]]
         |intro=Aggregated component:|format=ul
         |intro=Aggregated component:|format=ul
Line 31: Line 24:
     |}}     
     |}}     
   |}}
   |}}
|}}
| and }}
</td></tr>
</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>
<tr ><td>{{#ask:[[-HasIMAGEComponent::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}}
<tr ><td>{{#ask:[[-HasIMAGEComponent::{{#titleparts: {{FULLPAGENAME}}|1}}]]|format=ul}}
</td></tr>
</td></tr>}}
}}<!--
}}<!--
-->{{#ifeq:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||
-->{{#ifeq:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{FULLPAGENAME}}|1}} }}|0||

Revision as of 13:14, 28 February 2019

It should be called in the following format:

{{InfoBoxtemplate}}