Template:ModelVersionTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{ModelVersionTemplate | {{ModelVersionTemplate | ||
|hasDescription= | |||
|hasNamespace= | |||
|isVersionOf= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ask: [[ | This version of {{{isVersionOf|}}} is documented in the {{{hasNamespace|}}} namespace. | ||
|sep=; | |||
| | Version description: {{{hasDescription|}}} | ||
| | <!-- check the nr of CurrentVersions of this model, there should be one--> | ||
|format= | |||
| | Please check the number of current versions of {{{isVersionOf|}}}, there should be one! | ||
'''List of versions:''' | |||
<ol>{{#arraymap:{{#ask:[[{{{isVersionOf|}}}]]|?-IsVersionOf=|mainlabel=-|link=none|format=list|sep=;}} | |||
|;|yy | |||
| <li>{{#ask:[[yy]]|?IsCurrentVersion=current version|format=list}}</li> | |||
| | |||
}}</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|}}} | |||
| IsCurrentVersion={{{isCurrentVersion}}} | |||
| HasNamespace={{{hasNamespace|}}} | |||
| IsVersionOf={{{isVersionOf|}}} | |||
}} | |||
[[Category:ModelVersion]] | |||
</includeonly> | </includeonly> |
Revision as of 11:37, 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.