Template:InfoBoxTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
<tr><td class="InfoBoxCellStyleTemplate">Component is implemented in:</td></tr>
<tr><td class="InfoBoxCellStyleTemplate">Component is implemented in:</td></tr>
<tr><td>{{#arraymap:
<tr><td>{{#arraymap:
   {{#ask:[[Concept:ModelWithVersion]][[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none|valuesep=;}}
   {{#ask:[[IsImplementationOf::{{ROOTPAGENAME}}]]|link=none|sep=;}}
   |;|yy
   |;|yy
   |{{#arraymap: {{#ask:[[Category:ModelVersion]][[IsVersionOf::yy]]|link=none|valuesep=;}}
   |{{#arraymap: {{#ask:[[Category:ModelVersion]][[IsVersionOf::yy]]|link=none|sep=;}}
     |;|xx
     |;|xx
     |{{#ifeq:{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy]]|link=none}}|xx
     |{{#ifeq:{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy]]|link=none}}|xx
       |<ul><li>[[yy]] (version {{#ask:[[xx]]|format=list}})</li></ul>
       |<ul><li>[[yy]] (version {{#ask:[[xx]]|format=Plainlist}})</li></ul>
       {{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]]
       {{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]]
         |intro=Aggregated component:|format=ul
         |intro=Aggregated component:|format=ul

Latest revision as of 16:41, 24 March 2020

It should be called in the following format:

{{InfoBoxtemplate}}