Template:ModelVersionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
|{{PAGENAME}} is a previous version of {{{isVersionOf|}}}. The documentation is preserved in the {{{hasNamespace|}}} namespace.
|{{PAGENAME}} is a previous version of {{{isVersionOf|}}}. The documentation is preserved in the {{{hasNamespace|}}} namespace.
}}
}}
Version description: {{{hasDescription|}}}
<!-- check the nr of CurrentVersions of this model, there should be one-->


{{#ask: [[{{PAGENAME}}]]
{{#ask: [[{{PAGENAME}}]]
|link=none
|link=none
|intro=<h2>Changes regarding previous version </h2>
|intro=<h2>Changes implemented in this version </h2>
|format=template
|format=template
|template=DisplayChangePathTemplate
|template=DisplayChangePathTemplate
Line 35: Line 32:
}}</ol>
}}</ol>


'''Components of {{PAGENAME}}:'''
{{#ifeq:{{{hasNamespace|}}}
|main
|{{#ask:[[-IsImplementationOf::{{{isVersionOf|}}}]]|format=ul}}
|<ul>{{#arraymap:{{#ask:[[{{{isVersionOf|}}}]]|?IsImplementationOf=|mainlabel=-|format=list|link=none|sep=;}}|;|yy|<li>[[{{{hasNamespace|}}}:yy]]</li>|}}</ul>
}}


{{#set:HasDescription={{{hasDescription|}}}  
{{#set:HasDescription={{{hasDescription|}}}  

Revision as of 17:40, 17 October 2016

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

{{ModelVersionTemplate
|hasDescription=
|hasNamespace=
|isVersionOf=
}}

Edit the page to see the template text.