Template:ModelVersionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
{{#ifeq:{{#show:{{PAGENAME}}|? IsCurrentVersion}}|true
{{#ifeq:{{#show:{{PAGENAME}}|? IsCurrentVersion}}|true
|{{PAGENAME}} is the current version of [[{{{isVersionOf|}}}]]
|{{PAGENAME}} is the current version of [[{{{isVersionOf|}}}]]
|{{PAGENAME}} is a previous version of [[{{{isVersionOf|}}}]]. The documentation is preserved in the {{{hasNamespace|}}} namespace.
|{{PAGENAME}} is a previous or new version of [[{{{isVersionOf|}}}]].  
{{#ifeq:{{{hasNamespace|}}} |main||
The documentation is preserved in the {{{hasNamespace|}}} namespace.}}
}}
}}
{{#ask: [[{{PAGENAME}}]]
{{#ask: [[{{PAGENAME}}]]

Revision as of 16:08, 24 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.