Wechseln zu:Navigation, Suche
Wiki
KKeine Bearbeitungszusammenfassung
 
KKeine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
{{#switch:
{{#ifeq:{{{1|}}}|!|
{{{ Anw | {{{v | {{#switch: {{#titleparts: {{FULLPAGENAMEE}} | 1 | 1 }}
<!-- Formatierung Ausrufezeichen only -->
| Spielwiese={{#titleparts: {{FULLPAGENAMEE}} | 1 | 2 }}
{{spc|!!|o|-|c={{{c|{{{2|r}}} }}} }}
| #default={{#titleparts: {{FULLPAGENAMEE}} | 1 | 1 }}  
| <!-- else -->
}}
{{#vardefine:nobox|}}
}}}  
{{#vardefine:Version|{{rel2dec|{{{2|}}} }} }}
}}}
{{#vardefine:Majorrelease|{{rel2dec|{{Majorrelease|{{Anw}} }} }} }}
| AV
{{#vardefine:anzeigen|}}
| MDM
{{#vardefine:Farbe|{{Farbe|{{{bc|{{{3|{{#ifeq:{{{2|}}}|{{Farbe|{{{2|}}}}}|rot|{{{2|}}}}}}}}}}}|Anw={{{Anw|{{Anw}}}}}}}}}
| MS
{{#ifeq: {{#expr: {{#pos:{{#if:||{{{1|}}} }}|§|0}} + {{#ifeq: {{#expr: {{#var:Version}} >= {{#var:Majorrelease}} }}|1|0}} }}|0
| #default=<span style="vertical-align: {{{va|}}};"><span style="
<!-- Wenn der Text mit § beginnt {{#pos:{{#if:||{{{1|}}} }}|§|0}} → 0 Leerzeichen am Anfang werden ignoriert
background-color: {{ Farbe | {{{bc|rgba(0, 0, 0, 0.01);}}} }}
und es sich um einen 'Neu-Hinweis' handelt, {{#var:Version}} >= {{#var:Majorrelease}} → true →→ 0
border: 1px solid {{ Farbe | {{{bdc|rgba(0, 0, 0, 0.125);}}} }}
soll - falls keine Farbe definiert wurde der Farbwert »r« statt »rot« definiert werden. -->
border-radius: 2px;
| {{#vardefine:Farbe|{{Farbe|{{{bc|{{{3|{{#ifeq:{{{2|}}}|{{Farbe|{{{2|}}}}}|r|{{{2|}}}}}}}}}}}|Anw={{{Anw|{{Anw}}}}}}}}}
padding: {{{pd|3px}}};
}}
{{#if: {{{icon|}}} | padding-left: 0px; | }}
{{#ifeq: {{#sub: {{{1|}}} |0 |1}} | ! |
{{#ifeq: {{{2|}}} | rechts | padding-left: 3px; padding-right: 0px; }}
{{#ifeq: {{#pos:{{{1|}}}|§}}|1|{{#vardefine:nobox|2}} }}
-webkit-transition: border 0.3s;
{{#ifeq: {{#pos:{{{1|}}}|§}}|2|{{#vardefine:nobox|3}} }}
transition: border 0.3s;
{{#ifeq: {{#pos:{{{1|}}}|§}}|3|{{#vardefine:nobox|4}} }}
-webkit-box-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.1) inset;
}}{{#ifeq: {{#pos:{{#if:||{{{1|}}}}}|§}}|0|{{#vardefine:nobox|1}} }}{{#vardefine:noboxtext|{{#if:||{{#sub:{{{1|}}}|{{#var:nobox}} }} }}}}{{#ifexpr:{{#var:Version}}=0|{{#vardefine:anzeigen|true}} }}<!-- Wenn der 1. Paramater mit § beginnt, soll keine Box gezeichnet werden
box-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.1) inset;
 
line-height: {{{lh|}}};
-->{{#ifexpr:{{#var:Version}}>={{#var:Majorrelease}} |{{#vardefine:anzeigen|true}} }}{{#if: {{#var:anzeigen}}  
font-weight: {{{fw|normal}}};
| <!-- Es wurde keine Release-Nummer übergeben, oder es wurde eine übergeben, die >= dem aktuellen Majorrelease ist: -->
color: {{Farbe|{{{c|grey-l}}} }}
{{#ifexpr: {{#var:Version}} >= {{#var:Majorrelease}} | {{Neu|c={{#var:Farbe|r}} }} }} <!--
clear: both;
Wird eine Versionsnummer >= Majorrelease übergeben
display:inline-block;
wird die Vorlage {{Neu}} eingeblendet
vertical-align: baseline;
-->{{#ifeq: {{#sub: {{{1|}}} |0 |1}} | ! |
margin: 3px; 0px;"
{{#ifeq: {{#sub: {{{1|}}} | 0 |2 }} | !! |
| UMA=<span style="vertical-align: {{{v}}};"><span style="background-color: rgb(255, 255, 255);;
<!-- Es gibt mindestens 2 Ausrufezeichen. Es wird eine Extra-Box erzeugt, in der der Text umgebrochen werden kann.  
border: 1px solid rgb(182, 182, 182);
Das ! wird entsprechend der Anzahl der ! vergrößert
padding: {{{pd|3px}}};
clear: both;"
--><div style="
| U
background-color:{{#var:Farbe|#ec7063;}}
| UTM=<span style="vertical-align: {{{v}}};"><span style="
padding:{{#expr:( {{#len: {{#explode: {{{1| }}} }} }} * 1) }}px 4px {{#expr:( {{#len:
background-color: rgb(255, 255, 255);;
{{#explode: {{{1|}}} }} }} * 1) }}px 4px;
border: 1px solid rgb(182, 182, 182);
margin-right:10px;
border-radius: 3px;
border:1px solid;
padding: {{{pd|3px}}};
border-radius:1px;
{{#if: {{{icon|}}} | padding-left: 0px; | }}
border-color: {{{ bdc | #cacaca; }}}
{{#ifeq: {{{2|}}} | rechts | padding-left: 3px; padding-right: 0px;}}
font-weight:bold;
{{#ifeq: {{{2|}}} | c | border-right: 0px; padding-right: 0px;}}
float:left;
{{#ifeq: {{{2|}}} | counter | border-right: 0px; padding-right: 0px;}}
line-height: {{#expr:( {{#len: {{#explode: {{{1|}}} }} }} * 9 - (({{#len:
-webkit-transition: border 0.3s;
{{#explode: {{{1|}}} }} }}-2) * 3 )) }}px;
transition: border 0.3s;
{{#if: {{{s|}}}|text-shadow: 1px 1px 1px black, 1px 1px 1px black;}}
x-webkit-box-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.1) inset;
color:{{Farbe | {{{c | {{{ fc | white-l }}} }}} }}"
xbox-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.1) inset;
><span style="font-size: {{#expr:( {{#len: {{#explode: {{{1|}}} }} }} * 16) }}px;"
line-height: {{{lh|}}};
><i class="far fa-exclamation-triangle"></i></span>&nbsp;</div>{{#if:
font-weight: {{{fw|normal}}};
{{#replace: {{#sub: {{{1| }}} | {{#len: {{#explode: {{{1|}}} }} }}  }} | § |</span><span>}}
color: {{Farbe|grey-l}}
|<div class="Hinweis" style="display: table-cell; vertical-align: middle;"><span style="
clear: both"
background-color:{{#var:Farbe|#ec7063;}}
padding:0px 4px;
display: flex; align-items: center;  
border:1px solid;
border-radius:1px;
border-color: {{{ bdc | #cacaca; }}}
font-weight:bold;
min-height: {{#expr:( {{#len: {{#explode: {{{1|}}} }} }} * 19 ) }}px;
margin: auto 0px;
{{#if: {{{s|}}}|text-shadow: 1px 1px 1px black, 1px 1px 1px black;}}
color:{{Farbe | {{{c | {{{ fc | white-l }}} }}} }}"
>{{#replace: {{#sub: {{{1| }}}
| {{#len: {{#explode: {{{1|}}} }} }}  }}
| §
|</span><span> &nbsp;
}} &nbsp;</span></div>
|
}}
</div>
| <!-- Ein Ausrufezeichen am Anfang wird etwas hübscher im abgesetzten Kasten als Grafik dargestellt -->
<span style="
background-color: {{#var:Farbe}}
padding:2px 4px 2px 4px;
border:1px solid;
border-radius:1px;
border-color: {{{ bdc | #cacaca; }}}
font-weight:bold;
{{#if: {{{s|}}}|text-shadow: 1px 1px 1px black, 1px 1px 1px black;}}
color:{{Farbe | {{{c | {{{ fc | white-l }}} }}} }}"
><i class="far fa-exclamation-triangle"></i></span>&nbsp;{{#ifeq: {{#pos:{{{1|}}}|§}}|2|{{#sub:{{{1|}}}|3}} | {{#if:  
{{#replace: {{#sub: {{{1| }}} | 2 }} | § |</span><span> }}
|<span style="
background-color: {{#var:Farbe|#ec7063;}}
padding:2px 4px 2px 4px;
border:1px solid;
border-radius:1px;
border-color:{{{ bdc | #cacaca; }}}
font-weight:bold;
{{#if: {{{s|}}}|text-shadow: 1px 1px 1px black, 1px 1px 1px black;}}
color:{{Farbe | {{{c | {{{ fc | white-l }}} }}} }}"
>&nbsp;{{#replace: {{#sub: {{{1| Neue Funktion ab Version {{{ 2 | 11.8 }}} }}} | 2 }} | § |</span><span>&nbsp;}}&nbsp;</span>
|
}} }}
}}
}}
>{{#if: {{{icon|}}} |{{#ifeq: {{{2|}}} | rechts | |<span style="
}}{{#ifeq: {{padleft: | 1 | {{{1| }}} }} | !
display:inline-block;
|<!-- Ausrufezeichen - sind schon behandelt worden, also keine weitere Anzeige! -->
width: {{{iconw|20px}}};
|<!-- Kein Ausrufezeichen, also der ganze Text
text-align: center;
-->{{#if: {{#var:nobox}}|{{#var:noboxtext|}}| {{#switch: {{{ Anw | {{#switch: {{#titleparts: {{FULLPAGENAMEE}} | 1 | 1 }}  
color: {{ Farbe | {{{iconc|grey-l}}} }}
| Spielwiese={{#titleparts: {{FULLPAGENAMEE}} | 1 | 2 }}
border-right: 1px solid  rgba(0, 0, 0, 0.125);
| #default={{#titleparts: {{FULLPAGENAMEE}} | 1 | 1 }}  
background-color: white;
}}
padding: 1px;"
}}}  
>{{spc|{{{icon|}}}|o|-}}</span>&nbsp; |}} }}<span style="
| MDM
{{#ifeq: {{{w|}}} | "x"
| MS=<span style="
|
background-color: {{#var:Farbe|#ec7063;}}
| display: inline-block;
padding:1px;
width: calc( {{{ w | {{isutm | 90px | 170px | {{{Anw|}}} }} }}} - {{#if: {{{2|}}} |29px|0px}} );
border:1px solid;
}}"
border-radius:1px;
>{{{1}}}</span>{{#switch: {{lc: {{{2|}}} }}
border-color: {{#switch: {{{2|}}}
| dr
| grün={{Farbe|grün}}
| dropdown=<i class="fas fa-caret-down"></i> <!-- [[Datei:Pfeil_Dropdown.png|x5px|Link=]] -->
| gelb={{Farbe|gelbbd}}
| c
| rot={{Farbe|rotbd}}
| counter={{#switch:
| #default={{{ bdc | #cacaca; }}} <!-- Default-Wert -->
{{{ Anw | {{{v | {{#switch: {{#titleparts: {{FULLPAGENAMEE}} | 1 | 1 }}
| Spielwiese={{#titleparts: {{FULLPAGENAMEE}} | 1 | 2 }}
| #default={{#titleparts: {{FULLPAGENAMEE}} | 1 | 1 }}  
}}
}}
}}}  
font-weight:bold;
}}}
{{#if: {{{s|}}}|text-shadow: 1px 1px 1px black, 1px 1px 1px black;}}
| MS
color:{{Farbe | {{{c | {{{ fc | white-l }}} }}} }}"
| MDM
| UTM
| AV=[[Datei:Counter.png|10px|Link=]]
| #default=<span style="
| #default=<span style="position: absolute;"><sup>▴</sup></span><sub>▾</sub> <!--
background-color: {{#var:Farbe|#ec7063;}}
[[Datei:Counter.png|10px|Link=]] alte Version -->
padding:1px 3px 1px 3px;
| U
border:1px solid;
| UTM=<span style="vertical-align: 1px">[[Datei:UTM_v11-8-2_Counter.png|15px|Link=]]</span>
border-radius:1px;
}}
border-color: {{{ bdc | #cacaca;}}}
| rechts=<span style="
font-weight:bold;
display:inline-block;  
{{#if: {{{s|}}}|text-shadow: 1px 1px 1px black, 1px 1px 1px black;}}
width: {{{iconw|20px}}};
color:{{Farbe | {{{c | {{{ fc | white-l }}} }}} }}"
text-align: center;  
}}
color: {{ Farbe | {{{iconc|grey-l}}} }}  
>{{#replace: {{{1| Hinweis: }}} | § |</span><span>&nbsp;}}</span> }}
border-left: 1px solid  rgba(0, 0, 0, 0.125);
}}|<noinclude>{{{ 1 | Das ist alt}}}</noinclude>
background-color: white;
}}&nbsp;}}<noinclude>
padding: 1px;
">{{spc|{{{icon|}}}|o|-}}</span>
}}</span></span><noinclude>
{{Dokumentation}}
{{Dokumentation}}
</noinclude>
</noinclude>

Version vom 14. November 2019, 12:34 Uhr