Template:ModelVersionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<div class="page_standard"><table class="PageWidthTableTemplate">
<tr><td class="PageWidthTableFirstCell">Version number:</td>
<td class="PageWidthTableRemainderCell">{{{versionNumber|}}}</td></tr>}
<tr><td class="PageWidthTableFirstCell">Current version:</td>
<td class="PageWidthTableRemainderCell">{{{IsCurrentVersion|}}}</td></tr>}
<tr><td class="PageWidthTableFirstCell">Description:</td>
<td class="PageWidthTableRemainderCell">{{{hasDescription|}}}</td></tr>}
{{#ifeq:{{{hasNamespace|}}} |main||
<tr><td class="PageWidthTableFirstCell">Model description preserved in namespace</td>
<td class="PageWidthTableRemainderCell">{{{hasNamespace|}}}</td></tr>}
}}
</table>
{{#ifeq:{{#show:{{PAGENAME}}|? IsCurrentVersion}}|true
{{#ifeq:{{#show:{{PAGENAME}}|? IsCurrentVersion}}|true
|{{PAGENAME}} is the current version of [[{{{isVersionOf|}}}]]
|{{PAGENAME}} is the current version of [[{{{isVersionOf|}}}]]

Revision as of 15:37, 19 June 2017

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.