Template:DisplayModelVersionTableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(35 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>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifeq:
<tr class="StandardTableRow">
  {{#ask:[[{{{modelVersion|}}}]][[-IsComposedOfModelVersion::<q>[[-HasPreviousVersion::{{{userparam|}}}]]</q>]]
<td class="StandardTableCell">[[{{{1|}}}]]</td>
    |format=debug
<td class="StandardTableCell"><!--
  }}
--><ul>{{#arraymap:{{{2|}}}|;|vChange 
  |1 <!-- modelversion same as in previous version or initial version -->
     |<li>{{#ask:[[vChange]]
  |<tr class="StandardTableRow">
        |mainlabel=-
    <td class="StandardTableCell">[[{{{1|}}}]]</td>
        |? HasChangeDescription=
    <td class="StandardTableCell">No change since previous version</td>
        }} In model component:  
    <td class="StandardTableCell"></td>
        [[{{#show:vChange|?IsChangeOf}}]]</li>
    <td class="StandardTableCell"></td>
    |}}</ul>
    </tr>
</td></tr>
  |<tr class="StandardTableRow">
    <td class="StandardTableCell">[[{{{1|}}}]]</td>
    <td class="StandardTableCell">{{#show:{{{1|}}}| ?HasDescription}}</td>
     <td class="StandardTableCell">...</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.