Template:DisplayFrameworkVersionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude></noinclude><includeonly>
<noinclude></noinclude><includeonly>
<h3>{{{fwVersion|}}}
<h2>{{{fwVersion|}}}
{{#ifeq:{{#show:{{{fwVersion|}}}|?IsCurrentFrameworkVersion}}|true|(last version)|}}
{{#ifeq:{{#show:{{{fwVersion|}}}|?IsCurrentFrameworkVersion}}|true|(latest version)|}}</h2>
{{#show:{{{fwVersion|}}}|? HasDescription}}
{{#show:{{{fwVersion|}}}|? HasDescription}}


'''Changed models in this framework version:'''
<h3>Framework model composition </h3>
{{#ask:[[Category:ModelVersion]][[-IsComposedOfModelVersion::{{{fwVersion|}}}]][[Has subobject::+]]|format=list}}
<ul>
{{#ask:[[Category:ModelVersion]][[-IsComposedOfModelVersion::{{{fwVersion|}}}]]
{{#arraymap:
  {{#ask:[[Category:ModelVersion]][[-IsComposedOfModelVersion::{{{fwVersion|}}}]][[IsChanged::true]]
    | link=none
    | sep=;
  }}
  |;|xx
  |<li>[[xx]] (changed), {{#show:xx|? HasDescription}}</li>
|}}
{{#arraymap:
  {{#ask:[[Category:ModelVersion]][[-IsComposedOfModelVersion::{{{fwVersion|}}}]][[IsChanged::false]]
    | link=none
    | sep=;
  }}
  |;|yy
  |<li>[[yy]], {{#show:yy|? HasDescription}}</li>
|}}
</ul>
 
{{#ifeq:{{#ask:[[Category:ModelVersion]][[-IsComposedOfModelVersion::{{{fwVersion|}}}]][[IsChanged::true]]
|format=count}}
|0
|
|<h3>Changes compared to previous version</h3>
  {{#ask:[[Category:ModelVersion]][[-IsComposedOfModelVersion::{{{fwVersion|}}}]][[IsChanged::true]]
   |link=none
   |link=none
   |sep=;
   |sep=;
   |? -ChangeOfModelVersion=
   |? -ChangeOfModelVersion=
  |? IsVersionOf=
  |? HasNamespace=
   |format=template
   |format=template
   |intro={{TableIntroTemplate|10%|Model version|25%|Description|35%|Changes|30%|Components}}
   |intro={{TableIntroTemplate|25%|Model version|75%|Changes}}
   |outro=</table>
   |outro=</table>
   |template = DisplayModelVersionTableTemplate
   |template = DisplayModelVersionTableTemplate
  |userparam=xx
  }}
}}</includeonly>
}}
</includeonly>

Revision as of 14:30, 1 August 2017