Template:ModelVersionTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#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 version of [[{{{isVersionOf|}}}]]. The documentation is preserved in the {{{hasNamespace|}}} namespace. | ||
}} | }} | ||
{{#ask: [[{{PAGENAME}}]] | {{#ask: [[{{PAGENAME}}]] | ||
Line 26: | Line 26: | ||
<ol>{{#arraymap:{{#ask:[[{{{isVersionOf|}}}]]|?-IsVersionOf=|mainlabel=-|link=none|format=list|sep=;}} | <ol>{{#arraymap:{{#ask:[[{{{isVersionOf|}}}]]|?-IsVersionOf=|mainlabel=-|link=none|format=list|sep=;}} | ||
|;|yy | |;|yy | ||
| <li>{{#ask:[[yy]]|?IsCurrentVersion=current version|format=list}}</li> | | <li>{{#ask:[[yy]]|?IsCurrentVersion=current version:|format=list}}</li> | ||
| | | | ||
}}</ol> | }}</ol> | ||
See [[{{#show:{{{isVersionOf|}}}|Has|Model version Overview]] | |||
{{#set:HasDescription={{{hasDescription|}}} | {{#set:HasDescription={{{hasDescription|}}} |
Revision as of 17:54, 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.