Template:ModelVersionTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) 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={{{ | {{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.