Template:ModelVersionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(107 intermediate revisions by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{ModelVersionTemplate
{{ModelVersionTemplate
|hasVersionID=
|hasDescription=
|hasNamespace=
|hasVersionDocument=
|isPartOfFrameworkVersion=
|isVersionOf=
|isVersionOf=
|versionNumber=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>
! hasVersionID
<div class="page_standard"><table class="PageWidthTableTemplate">
| [[HasVersionID::{{{hasVersionID|}}}]]  
<tr><td class="PageWidthTableFirstCell">'''Version of Model:'''</td>
|-
<td class="PageWidthTableRemainderCell">[[{{{isVersionOf|}}}]]</td></tr>
! hasNamespace
<tr><td class="PageWidthTableFirstCell">'''Version number:'''</td>
| [[HasNamespace::{{{hasNamespace|}}}]]
<td class="PageWidthTableRemainderCell">{{{versionNumber|}}}</td></tr>
|-
<tr><td class="PageWidthTableFirstCell">'''Current version:'''</td>
! isPartOfFrameworkVersion
<td class="PageWidthTableRemainderCell">{{{isCurrentVersion|}}}</td></tr>
| [[IsPartOfFrameworkVersion::{{{isPartOfFrameworkVersion|}}}]]
<tr><td class="PageWidthTableFirstCell">'''Description:'''</td>
|-
<td class="PageWidthTableRemainderCell">{{{hasDescription|}}}</td></tr>
! isVersionOf
{{#ifeq:{{{hasVersionDocument|}}}|||
| [[IsVersionOf::{{{isVersionOf|}}}]]  
<tr><td class="PageWidthTableFirstCell">'''Archive of this version:'''</td>
|}
<td class="PageWidthTableRemainderCell">{{{hasVersionDocument|}}}, [[Media:{{{hasVersionDocument|}}}| open pdf file]]</td></tr>
}}
</table>


{{#ifeq:{{#show:{{PAGENAME}}|?IsChanged}}|true|
''Changes compared to previous version:''
{{#arraymap:
  {{#ask:[[-Has subobject::{{PAGENAME}}]]|link=none|format=Plainlist|sep=;}}
  |;|zz
  |{{#ask:[[zz]]|mainlabel=-
                |? IsChangeOf
                |? HasChangeDescription
                |format=Plainlist
                |template=ChangeTemplate
                |intro=<table  class="PageWidthTableTemplate">
                |outro=  </table>
    }}
    |<br/>}}
|}}
See {{#show:{{{isVersionOf|}}}|? HasVersionOverview}}
</div>
{{#ifeq:{{#ask:[[-Has subobject::{{PAGENAME}}]]|format=count}}
|0
|{{#set:IsChanged=false}}
|{{#set:IsChanged=true}}
}}
{{#set:HasDescription={{{hasDescription|}}}
| IsCurrentVersion={{{isCurrentVersion}}}
| HasVersionDocument={{{hasVersionDocument|}}}
| IsVersionOf={{{isVersionOf|}}}
| HasVersionNumber={{{versionNumber|}}}
}}
[[Category:ModelVersion]]
[[Category:ModelVersion]]
</includeonly>
</includeonly>

Latest revision as of 13:17, 23 March 2020

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

{{ModelVersionTemplate
|hasDescription=
|hasVersionDocument=
|isVersionOf=
|versionNumber=
}}

Edit the page to see the template text.