Template:Version: Difference between revisions

Create template
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#arraydefine:versionNumber|{{#switch:{{#if:{{{1|}}}|{{{1}}}|stable}}
<includeonly>{{#switch:{{{link|}}}
|stable  = 1.5.6
|0        = {{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}}
|beta    = 1.5.6
  |#default = [[Version History#{{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}}]]
|#default = {{{1}}}
}}}}<!--
 
 
-->{{#switch:{{{link|}}}
  |0        = {{#if:{{{2|}}}|{{{2}}}|{{#arrayindex:versionNumber|0}}}}
|#default = [[Version History#{{#arrayindex:versionNumber|0}}|{{#if:{{{2|}}}|{{{2}}}|{{#arrayindex:versionNumber|0}}}}]]
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>