Template:DisplayModelVersionTableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(15 intermediate revisions by the same user not shown)
Line 6: Line 6:
|1= Modelversion
|1= Modelversion
|2= subobjects
|2= subobjects
|3= Model
|4= Namespace
|userparam=frameworkVersion
}}
}}
</pre>
</pre>
Line 15: Line 12:
<tr class="StandardTableRow">
<tr class="StandardTableRow">
<td class="StandardTableCell">[[{{{1|}}}]]</td>
<td class="StandardTableCell">[[{{{1|}}}]]</td>
<td class="StandardTableCell">{{#show:{{{1|}}}| ?HasDescription}}</td>
<td class="StandardTableCell"><!--
{{#ifeq:
--><ul>{{#arraymap:{{{2|}}}|;|vChange   
  {{#ask:[[{{{1|}}}]][[-IsComposedOfModelVersion::<q>[[-HasPreviousVersion::{{{userparam|}}}]]</q>]]|format=count}}
    |<li>{{#ask:[[vChange]]
  |1|
        |mainlabel=-
    <td class="StandardTableCell">Same as previous version</td>
        |? HasChangeDescription=
|
        }} In model component:  
    <td class="StandardTableCell">
        [[{{#show:vChange|?IsChangeOf}}]]</li>
    {{#arraymap:{{{2|}}}|,|vChange   
    |}}</ul>
      |{{#show:vChange|?HasChangeDescription}}
</td></tr>
      |<br/>}}
    </td>
}}
<td class="StandardTableCell">
{{#ifeq:{{{4|}}}|main
    |{{#ask:[[Concept:AllComponentLevels]][[-IsImplementationOf::{{{3|}}}]]|format=ul
      }}
    |<ul>
      {{#arraymap:
        {{#ask:[[Concept:AllComponentLevels]][[-IsImplementationOf::{{{3|}}}]]|link=none|sep=;}}
        |;|vComp
        |<li>[[{{{4|}}}:vComp]]</li>
        |}}
      </ul>
}}</td>
</tr>
</includeonly>
</includeonly>

Revision as of 20:29, 31 July 2017

This is the "DisplayModelVersionTableTemplate" template. It should be called in the following format:

{{DisplayModelVersionTableTemplate
|1= Modelversion
|2= subobjects
}}

Edit the page to see the template text.