Difference between revisions of "Template:Version"

From ScummVM :: Wiki
Jump to navigation Jump to search
en>Antonsusi
m
m (1 revision imported)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><!--
<noinclude>{{Documentation}}</noinclude><includeonly><!--
 
+++ Validate params
+++ Validiere Parameter
+ 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 maintained">{{#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 maintained">Older version, still maintained</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 maintained">{{#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 maintained">Older version, still maintained</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>


+ Fehler wenn Typenparameter nicht angegeben
<!-- + Horizontal legend, displayed as table -->
-->{{#if: {{{1|}}} || <span class="error">[[Vorlage:Version|Vorlagenfehler]]: Typenparameter nicht gefunden</span>&nbsp;}}<!--
| t = {{(!}} class="templateVersion t wikitable " style="text-align: center; {{{style|}}}"
! class="hintergrundfarbe5 t" style="padding: 0.5ex 0.75em; text-align: left;"{{!}} Legend:


+ Fehler wenn Versionsparameter nicht angegeben
{{!}} style="background-color: #FDB3AB; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|4}} || display: none;}}" title="Old version, no longer maintained"{{!}} Old version, not maintained
-->{{#if: {{{1|}}} | {{#ifeq: {{{1|}}} | l || {{#ifeq: {{{1|}}} | lv || {{#ifeq: {{{1|}}} | t || {{#ifeq: {{{1|}}} | tv || {{#if: {{{2|}}} || <span class="error">[[Vorlage:Version|Vorlagenfehler]]: Versionsparameter nicht gefunden</span>&nbsp; }}}}}}}}}}|}}<!--


+++ Vorlage
{{!}} style="background-color: #FEF8C6; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|3}} || display: none;}}" title="Older version, yet still maintained"{{!}} Older version, still maintained


-->{{#switch: {{{1}}}<!--
{{!}} style="background-color: #D4F4B4; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|2}} || display: none;}}" title="Current stable version"{{!}} '''Current stable version'''


++ Legenden
{{!}} 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
 
+ Horizontale Legende
-->| l = <div class="vorlageVersion" style="margin-left: -1em; {{{style|}}}"><!--
--><div style="float: left; margin-left: 1em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|5}} || display: none;}}"><span style="white-space: nowrap;">'''Legende:'''</span></div><!--
--><div style="float: left; margin-left: 1em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|4}} || display: none;}}"><span style="border-left: 1.2em solid #F09278; padding-left: 0.3em; white-space: nowrap;" title="Eine ältere und nicht mehr unterstützte Version">{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} | Ältere Version; nicht mehr unterstützt | Alte Version}}</span></div><!--
--><div style="float: left; margin-left: 1em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} || display: none;}}"><span style="border-left: 1.2em solid #CEE482; padding-left: 0.3em; white-space: nowrap;" title="Eine ältere aber noch unterstützte Version">Ältere Version; noch unterstützt</span></div><!--
--><div style="float: left; margin-left: 1em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|2}} || display: none;}}"><span style="border-left: 1.2em solid #9DD12F; padding-left: 0.3em; white-space: nowrap;" title="Die aktuell stabile Version">'''Aktuelle Version'''</span></div><!--
--><div style="float: left; margin-left: 1em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|1}} || display: none;}}"><span style="border-left: 1.2em solid #FCC27E; padding-left: 0.3em; white-space: nowrap;" title="Die aktuelle Vorabversion einer zukünftigen Version">Aktuelle Vorabversion</span></div><!--
--><div style="float: left; margin-left: 1em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|0}} || display: none;}}"><span style="border-left: 1.2em solid #FCED77; padding-left: 0.3em; white-space: nowrap;" title="Eine zukünftige Version">Zukünftige Version</span></div><!--
--><div style="clear:left"></div></div><!--
 
+ Vertikale Legende
-->| lv = <div class="vorlageVersion float-right" style="{{{style|}}}"><!--
--><span style="{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|5}} || display: none;}}"><span style="padding-left: 1.5em; white-space: nowrap;">'''Legende:'''</span><br /></span><!--
--><span style="{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|4}} || display: none;}}"><span style="border-left: 1.2em solid #F09278; padding-left: 0.3em; white-space: nowrap;" title="Eine ältere und nicht mehr unterstützte Version">{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} | Ältere Version; nicht mehr unterstützt | Alte Version}}</span><br /></span><!--
--><span style="{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} || display: none;}}"><span style="border-left: 1.2em solid #CEE482; padding-left: 0.3em; white-space: nowrap;" title="Eine ältere aber noch unterstützte Version">Ältere Version; noch unterstützt</span><br /></span><!--
--><span style="{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|2}} || display: none;}}"><span style="border-left: 1.2em solid #9DD12F; padding-left: 0.3em; white-space: nowrap;" title="Die aktuell stabile Version">'''Aktuelle Version'''</span><br /></span><!--
--><span style="{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|1}} || display: none;}}"><span style="border-left: 1.2em solid #FCC27E; padding-left: 0.3em; white-space: nowrap;" title="Die aktuelle Vorabversion einer zukünftigen Version">Aktuelle Vorabversion</span><br /></span><!--
--><span style="{{#ifexpr: {{Ziffer|{{{zeige|111111}}}|0}} || display: none;}}"><span style="border-left: 1.2em solid #FCED77; padding-left: 0.3em; white-space: nowrap;" title="Eine zukünftige Version">Zukünftige Version</span></span><!--
--></div><!--


+ Horizontale Legende in Form einer Tabelle
{{!}} style="background-color: #C1E6F5; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|0}} || display: none;}}" title="Future release"{{!}} Future release
-->| t = {{{!}} class="vorlageVersion wikitable" style="text-align: center; {{{style|}}}"
! class="hintergrundfarbe5" style="padding: 0.5ex 0.75em; text-align: left; {{#ifexpr: {{Str ≥ len | {{{zeige|111111}}} | 6 | {{Ziffer|{{{zeige|111111}}}|5}} | 1 }} |<!-- nichts -->| display: none;}}"{{!}} Legende:
{{!}} style="background-color: #F09278; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|4}} || display: none;}}" title="Eine ältere und nicht mehr unterstützte Version"{{!}} {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} | Ältere Version; nicht mehr unterstützt | Alte Version}}
{{!}} style="background-color: #CEE482; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} || display: none;}}" title="Eine ältere aber noch unterstützte Version"{{!}} Ältere Version; noch unterstützt
{{!}} style="background-color: #9DD12F; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|2}} || display: none;}}" title="Die aktuell stabile Version"{{!}} '''Aktuelle Version'''
{{!}} style="background-color: #FCC27E; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|1}} || display: none;}}" title="Die aktuelle Vorabversion einer zukünftigen Version"{{!}} Aktuelle Vorabversion
{{!}} style="background-color: #FCED77; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|0}} || display: none;}}" title="Eine zukünftige Version"{{!}} Zukünftige Version
{{!}}}<!--
+ Vertikale Legende in Form einer Tabelle
-->| tv = {{{!}} class="vorlageVersion wikitable float-right" style="text-align: left; {{{style|}}}"
{{!}}-
!class="hintergrundfarbe5" style="padding: 0.5ex 0.75em; {{#ifexpr: {{Str ≥ len | {{{zeige|111111}}} | 6 | {{Ziffer|{{{zeige|111111}}}|5}} | 1 }} || display: none;}}"{{!}} Legende:
{{!}}-
{{!}} style="background-color: #F09278; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|4}} || display: none;}}" title="Eine ältere und nicht mehr unterstützte Version"{{!}} {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} | Ältere Version; nicht mehr unterstützt | Alte Version}}
{{!}}-
{{!}} style="background-color: #CEE482; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|3}} || display: none;}}" title="Eine ältere aber noch unterstützte Version"{{!}} Ältere Version; noch unterstützt
{{!}}-
{{!}} style="background-color: #9DD12F; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|2}} || display: none;}}" title="Die aktuell stabile Version"{{!}} '''Aktuelle Version'''
{{!}}-
{{!}} style="background-color: #FCC27E; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|1}} || display: none;}}" title="Die aktuelle Vorabversion einer zukünftigen Version"{{!}} Aktuelle Vorabversion
{{!}}-
{{!}} style="background-color: #FCED77; padding: 0.5ex 0.75em; {{#ifexpr: {{Ziffer|{{{zeige|111111}}}|0}} || display: none;}}" title="Eine zukünftige Version"{{!}} Zukünftige Version
{{!}}}<!--
++ Versionstabelle
+ Alte Version ("old version" >> o)
-->| o = class="vorlageVersion" {{#if: {{{2|}}} | style="background-color: #F09278; {{{style|}}}" title="Eine ältere und nicht mehr unterstützte Version" data-sort-value="{{{sortKey|{{{2|}}}}}}" {{!}} <span style="display: none;">Ältere Version; nicht mehr unterstützt:</span> {{{2|}}} |}}<!--
+ Aktuelle Version eines älteren Zweigs ("current older version" >> co)
-->| co = class="vorlageVersion" {{#if: {{{2|}}} | style="background-color: #CEE482; {{{style|}}}" title="Eine ältere aber noch unterstützte Version" data-sort-value="{{{sortKey|{{{2|}}}}}}" {{!}} <span style="display: none;">Ältere Version; noch unterstützt:</span> {{{2|}}} |}}<!--
+ Aktuelle Version ("current version" >> c)
-->| c = class="vorlageVersion" {{#if: {{{2|}}} | style="background-color: #9DD12F; {{{style|}}}" title="Die aktuell stabile Version" data-sort-value="{{{sortKey|{{{2|}}}}}}" {{!}} <span style="display: none;">Aktuelle Version:</span> '''{{{2|}}}''' |}}<!--
+ Aktuelle Vorabversion ("current preliminary version" >> cp)
-->| cp = class="vorlageVersion" {{#if: {{{2|}}} | style="background-color: #FCC27E; {{{style|}}}" title="Die aktuelle Vorabversion einer zukünftigen Version" data-sort-value="{{{sortKey|{{{2|}}}}}}" {{!}} <span style="display: none;">Vorabversion:</span> {{{2|}}} |}}<!--
+ Zukünftige Version ("prospective version" >> p)
-->| p = class="vorlageVersion" {{#if: {{{2|}}} | style="background-color: #FCED77; {{{style|}}}" title="Eine zukünftige Version" data-sort-value="{{{sortKey|{{{2|}}}}}}" {{!}} <span style="display: none;">Zukünftige Version:</span> {{{2|}}} |}}<!--
+ Fehler: Unbekannter Typenparameter
-->| #default = {{#if: {{{1|}}} | <span class="error">[[Vorlage:Version|Vorlagenfehler]]: Unbekannter Typenparameter</span>&nbsp;|}}<!--
-->}}</includeonly></onlyinclude>


{{Dokumentation}}
{{!)}}<!--
+ 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 maintained"{{!}} {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|3}} | Old version, not maintained}}
{{!-}}
{{!}} style="background-color: #FEF8C6; padding: 0.5ex 0.75em; {{#ifexpr: {{Template:Cipher|{{{show|11111}}}|3}} || display: none;}}" title="Older version, yet still maintained"{{!}} Older version, still maintained
{{!-}}
{{!}} 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 maintained" data-sort-value="{{{sortKey|{{{2|}}}}}}" {{!}} <span style="display: none;">Old version, no longer maintained:</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 maintained" data-sort-value="{{{sortKey|{{{2|}}}}}}" {{!}} <span style="display: none;">Older version, yet still maintained:</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 13:59, 3 April 2022

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}