Template:ModelVersionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
<!-- check the nr of CurrentVersions of this model, there should be one-->
<!-- check the nr of CurrentVersions of this model, there should be one-->


{{CheckCurrentVersionTemplate|model={{{isVersionOf|}}} }}
{{CheckCurrentVersionTemplate
  |{{#arraymap:{{#ask:[[{{{model|}}}]]|?-IsVersionOf=|mainlabel=-|link=none|format=list|sep=;}}
  |;|yy
  | {{#ifeq:{{#ask:[[yy]]|?IsCurrentVersion=|mainlabel=-}}|true
    |1
    |0
    }}
  |+
  }}
}}


is current version value = {{{isCurrentVersion|}}}
is current version value = {{{isCurrentVersion|}}}

Revision as of 15:45, 6 May 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.