Difference between revisions of "Template:Version"

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

Latest revision as of 12:57, 5 January 2020

Lua error in Module:Documentation at line 144: message: type error in message cfg.container (string expected, got nil).

Advertising: