வார்ப்புரு:Version
&lt;noinclude&gt;{{Documentation}}&lt;/noinclude&gt;&lt;includeonly&gt;&lt;!--
 +++ Validate params
 + Check if type parameter exists:
 --&gt;{{#if: {{{1|}}} || &lt;span style=&quot;font-size: 1.2em; color: red; font-weight: bold;&quot;&gt;[[Template:Version|Error]]: Type parameter not found&lt;/span&gt;&amp;nbsp;}}&lt;!--
 + Check if version parameter exists:
 --&gt;{{#if: {{{1|}}} | {{#ifeq: {{{1|}}} | l || {{#ifeq: {{{1|}}} | lv || {{#ifeq: {{{1|}}} | t || {{#ifeq: {{{1|}}} | tv || {{#if: {{{2|}}} || &lt;span style=&quot;font-size: 1.2em; color: red; font-weight: bold;&quot;&gt;[[Template:Version|Error]]: Version parameter not found&lt;/span&gt;&amp;nbsp; }}}}}}}}}}|}}&lt;!--
 +++ Template
 --&gt;{{#switch: {{{1}}}&lt;!--
 + Horizontal legend
 --&gt;| l = &lt;div class=&quot;templateVersion l&quot; style=&quot;margin-left: -1em; {{{style|}}}&quot;&gt;&lt;!--
 --&gt;&lt;div style=&quot;float: left; margin-left: 1em; {{#ifexpr: {{Template:Cipher|{{{show|111111}}}|5}} || display: none;}}&quot;&gt;&lt;span style=&quot;white-space: nowrap;&quot;&gt;'''Legend:'''&lt;/span&gt;&lt;/div&gt;&lt;!--
 --&gt;&lt;div style=&quot;float: left; margin-left: 1em; {{#ifexpr: {{Template:Cipher|{{{show|111111}}}|4}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #FDB3AB; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Old version, no longer supported&quot;&gt;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|3}} | Old version | Old version}}&lt;/span&gt;&lt;/div&gt;&lt;!--
 --&gt;&lt;div style=&quot;float: left; margin-left: 1em; {{#ifexpr: {{Template:Cipher|{{{show|111111}}}|3}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #FEF8C6; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;An older version, yet still supported&quot;&gt;Older version, still supported&lt;/span&gt;&lt;/div&gt;&lt;!--
 --&gt;&lt;div style=&quot;float: left; margin-left: 1em; {{#ifexpr: {{Template:Cipher|{{{show|111111}}}|2}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #D4F4B4; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Latest stable version&quot;&gt;'''Latest version'''&lt;/span&gt;&lt;/div&gt;&lt;!--
 --&gt;&lt;div style=&quot;float: left; margin-left: 1em; {{#ifexpr: {{Template:Cipher|{{{show|111111}}}|1}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #FED1A0; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Latest preview of a future release&quot;&gt;Latest preview version&lt;/span&gt;&lt;/div&gt;&lt;!--
 --&gt;&lt;div style=&quot;float: left; margin-left: 1em; {{#ifexpr: {{Template:Cipher|{{{show|111111}}}|0}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #C1E6F5; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;A future release&quot;&gt;Future release&lt;/span&gt;&lt;/div&gt;&lt;!--
 --&gt;&lt;div style=&quot;clear: left;&quot; &gt;&lt;/div&gt;&lt;/div&gt;&lt;!--
 + Vertikal  legend
 --&gt;| lv = &lt;div  class=&quot;templateVersion lv floatright&quot; style=&quot;{{{style|}}}&quot;&gt;&lt;!--
 --&gt;&lt;span style=&quot;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|5}} || display: none;}}&quot;&gt;&lt;span style=&quot;padding-left: 1.5em; white-space: nowrap;&quot;&gt;'''Legend:'''&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;!--
 --&gt;&lt;span style=&quot;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|4}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #FDB3AB; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Old version, no longer supported&quot;&gt;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|3}} | Old version}}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;!--
 --&gt;&lt;span style=&quot;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|3}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #FEF8C6; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Older version, yet still supported&quot;&gt;Older version, still supported&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;!--
 --&gt;&lt;span style=&quot;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|2}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #D4F4B4; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Current stable version&quot;&gt;'''Current version'''&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;!--
 --&gt;&lt;span style=&quot;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|1}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #FED1A0; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Latest preview version of a future release&quot;&gt;Latest preview version&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;!--
 --&gt;&lt;span style=&quot;{{#ifexpr: {{Template:Cipher|{{{show|111111}}}|0}} || display: none;}}&quot;&gt;&lt;span style=&quot;border-left: 1.2em solid #C1E6F5; padding-left: 0.3em; white-space: nowrap;&quot; title=&quot;Future release&quot;&gt;Future release&lt;/span&gt;&lt;/span&gt;&lt;!--
 --&gt;&lt;/div&gt;
 
 &lt;!-- + Horizontal legend, displayed as table --&gt;
 | t = {{(!}} class=&quot;templateVersion t wikitable &quot; style=&quot;text-align: center; {{{style|}}}&quot;
 ! class=&quot;hintergrundfarbe5 t&quot; style=&quot;padding: 0.5ex 0.75em; text-align: left;&quot;{{!}} Legend:
 
 {{!}} style=&quot;background-color: #FDB3AB; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|4}} || display: none;}}&quot; title=&quot;Old version, no longer supported&quot;{{!}} Old version
 
 {{!}} style=&quot;background-color: #FEF8C6; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|3}} || display: none;}}&quot; title=&quot;Older version, yet still supported&quot;{{!}} Older version, still supported
 
 {{!}} style=&quot;background-color: #D4F4B4; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|2}} || display: none;}}&quot; title=&quot;Current stable version&quot;{{!}} '''Current version'''
 
 {{!}} style=&quot;background-color: #FED1A0; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|1}} || display: none;}}&quot; title=&quot;Latest preview version of a future release&quot;{{!}} Latest preview version
 
 {{!}} style=&quot;background-color: #C1E6F5; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|0}} || display: none;}}&quot; title=&quot;Future release&quot;{{!}} Future release
 
 {{!)}}&lt;!--
 + Vertikal legend, dislayed as table
 --&gt;| tv = {{(!}} class=&quot;templateVersion tv wikitable floatright&quot; style=&quot;text-align: left; {{{style|}}}&quot;
 {{!}} class=&quot;hintergrundfarbe5 tv&quot; style=&quot;padding: 0.5ex 0.75em;&quot;{{!}} Legend:
 {{!-!}} style=&quot;background-color: #FDB3AB; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|4}} || display: none;}}&quot; title=&quot;Old version, no longer supported&quot;{{!}} {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|3}} | Old version}}
 {{!-!}} style=&quot;background-color: #FEF8C6; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|3}} || display: none;}}&quot; title=&quot;Older version, yet still supported&quot;{{!}} Older version, still supported
 {{!-!}} style=&quot;background-color: #D4F4B4; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|2}} || display: none;}}&quot; title=&quot;Current stable version&quot;{{!}} '''Current version'''
 {{!-!}} style=&quot;background-color: #FED1A0; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|1}} || display: none;}}&quot; title=&quot;Latest preview version of a future release&quot;{{!}} Latest preview version
 {{!-!}} style=&quot;background-color: #C1E6F5; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|0}} || display: none;}}&quot; title=&quot;Future release&quot;{{!}} Future release
 {{!)}}&lt;!--
 + Old version (&quot;old version&quot; &gt;&gt; o)
 --&gt;| o = {{#if: {{{2|}}} | style=&quot;background-color: #FDB3AB; {{{style|}}}&quot; title=&quot;Old version, no longer supported&quot; data-sort-value=&quot;{{{sortKey|{{{2|}}}}}}&quot; {{!}} &lt;span style=&quot;display: none;&quot;&gt;Old version, no longer supported:&lt;/span&gt; {{{2|}}} |}}&lt;!--
 + Current version of an older branch (&quot;current older version&quot; &gt;&gt; co)
 --&gt;| co = class=&quot;templateVersion co&quot; {{#if: {{{2|}}} | style=&quot;background-color: #FEF8C6; {{{style|}}}&quot; title=&quot;Older version, yet still supported&quot; data-sort-value=&quot;{{{sortKey|{{{2|}}}}}}&quot; {{!}} &lt;span style=&quot;display: none;&quot;&gt;Older version, yet still supported:&lt;/span&gt; {{{2|}}} |}}&lt;!--
 + Current version (&quot;current version&quot; &gt;&gt; c)
 --&gt;| c = class=&quot;templateVersion c&quot; {{#if: {{{2|}}} | style=&quot;background-color: #D4F4B4; {{{style|}}}&quot; title=&quot;Current stable version&quot; data-sort-value=&quot;{{{sortKey|{{{2|}}}}}}&quot; {{!}} &lt;span style=&quot;display: none;&quot;&gt;Current stable version:&lt;/span&gt; '''{{{2|}}}''' |}} &lt;!--
 + Latest preview version (&quot;current preliminary version&quot; &gt;&gt; cp)
 --&gt;| cp = class=&quot;templateVersion cp&quot; {{#if: {{{2|}}} | style=&quot;background-color: #FED1A0; {{{style|}}}&quot; title=&quot;Latest preview version of a future release&quot; data-sort-value=&quot;{{{sortKey|{{{2|}}}}}}&quot; {{!}} &lt;span style=&quot;display: none;&quot;&gt;Latest preview version of a future release:&lt;/span&gt; {{{2|}}} |}} &lt;!--
 + Future release (&quot;prospective version&quot; &gt;&gt; p)
 --&gt;| p = class=&quot;templateVersion p&quot; {{#if: {{{2|}}} | style=&quot;background-color: #C1E6F5; {{{style|}}}&quot; title=&quot;Future release&quot; data-sort-value=&quot;{{{sortKey|{{{2|}}}}}}&quot; {{!}} &lt;span style=&quot;display: none;&quot;&gt;Future release:&lt;/span&gt; {{{2|}}} |}}&lt;!--
 + Unknown type parameter
 --&gt;| #default = {{#if: {{{1|}}} | &lt;span style=&quot;font-size: 1.2em; color: red; font-weight: bold;&quot;&gt;[[Template:Version|Error]]:Unknown type parameter&lt;/span&gt; |}}&lt;!--