KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{#ifexpr: | {{#ifexpr: | ||
<!-- Mein Wert --> | <!-- Mein Wert --> | ||
{{#switch: {{{ 2| | {{#switch:Farbwert_an_zweiter_Stelle | ||
| | | {{#ifeq: {{{2|}}} | {{Farbe|{{{2|}}} }}| | Farbwert_an_zweiter_Stelle }} <!-- Die Vorlage {{ Farbe | ...}} kann den Parameter auswerten, es ist also ein Farb-Wert --> | ||
| {{#ifexpr: {{#rpos: {{{2|}}} | ; }} >0 | Farbwert_an_zweiter_Stelle }} <!-- Es wurde ein ; übergeben, also ein html-Farbwert --> | |||
| rot=99 <!-- als zweiter Wert wurde ein Farb-Wert übergeben, also soll diese Meldung immer eingeblendet werden --> | | rot=99 <!-- als zweiter Wert wurde ein Farb-Wert übergeben, also soll diese Meldung immer eingeblendet werden --> | ||
| #default= | | #default= | ||
Zeile 24: | Zeile 24: | ||
/ {{#expr: 10 ^ (6 - {{#len:{{#explode: {{ Majorrelease | {{#titleparts: {{{ Anw | {{fullurl:{{FULLPAGENAMEE}} }} }}} | 1 | 4 }} }} | . | 2 }} }} ) }} | / {{#expr: 10 ^ (6 - {{#len:{{#explode: {{ Majorrelease | {{#titleparts: {{{ Anw | {{fullurl:{{FULLPAGENAMEE}} }} }}} | 1 | 4 }} }} | . | 2 }} }} ) }} | ||
}} | }} | ||
| <!-- Es wurde | | <!-- Es wurde keine Release-Nummer übergeben, oder es wurde eine übergeben, die >= dem aktuellen Majorrelease ist: --> | ||
{{#ifeq: {{ | {{#ifeq: {{#sub: {{{1|}}} |0 |1}} | ! | | ||
{{#ifeq: {{#sub: {{{1|}}} | 0 |2 }} | !! | | |||
<!-- Es gibt mindestens 2 Ausrufezeichen. Es wird eine Extra-Box erzeugt, in der der Text umgebrochen werden kann. | |||
Das ! wird entsprechend der Anzahl der ! vergrößert --> | |||
<div> | |||
<div style=" | |||
background-color: {{{bc | {{Farbe|{{{2|rot}}} | v={{{v|}}} }} }}} | |||
padding:{{#expr:( {{#len: {{#explode: {{{1| }}} }} }} * 1) }}px 4px {{#expr:( {{#len: {{#explode: {{{1|}}} }} }} * 1) }}px 4px; margin-right:10px; | |||
border:1px solid; | |||
border-radius:1px; | |||
border-color: #cacaca; | |||
font-weight:bold; | |||
float:left; | |||
color:{{{ c | {{{ fc | {{Farbe|white-l}} }}} }}}" | |||
><span style="font-size: {{#expr:( {{#len: {{#explode: {{{1|}}} }} }} * 16) }}px;" | |||
><i class="far fa-exclamation-triangle"></i></span> </div>{{#if: | |||
{{#replace: {{#sub: {{{1| }}} | {{#len: {{#explode: {{{1|}}} }} }} }} | § |</span><span>}} | |||
|<div style="display: flex;><span style=" | |||
background-color: {{{bc | {{Farbe|{{{2|rot}}} | v={{{v|}}} }} }}} | |||
padding:0px 4px 0px 4px; | |||
border:1px solid; | |||
border-radius:1px; | |||
border-color: #cacaca; | |||
font-weight:bold; | |||
color:{{{ c |{{{ fc | {{Farbe|white-l}} }}} }}}" | |||
>{{#replace: {{#sub: {{{1| }}} | {{#len: {{#explode: {{{1|}}} }} }} }} | § |</span><span> }} </span></div> | |||
| | |||
}} | |||
</div> | |||
| <!-- Ein Ausrufezeichen am Anfang wird etwas hübscher im abgesetzten Kasten als Grafik dargestellt --> | | <!-- Ein Ausrufezeichen am Anfang wird etwas hübscher im abgesetzten Kasten als Grafik dargestellt --> | ||
<span style=" | <span style=" | ||
background-color: | background-color: {{{bc | {{Farbe|{{{2|rot}}} | v={{{v|}}} }} }}} | ||
padding:2px 4px 2px 4px; | padding:2px 4px 2px 4px; | ||
border:1px solid; | border:1px solid; | ||
Zeile 45: | Zeile 62: | ||
border-color: #cacaca; | border-color: #cacaca; | ||
font-weight:bold; | font-weight:bold; | ||
color:{{{ fc | {{Farbe|white-l}} }}}" | color:{{{ c | {{{ fc | {{Farbe|white-l}} }}} }}}" | ||
><i class="far fa-exclamation-triangle"></i></span> {{#if: | ><i class="far fa-exclamation-triangle"></i></span> {{#if: | ||
{{#replace: {{#sub: {{{1| | {{#replace: {{#sub: {{{1| }}} | 2 }} | § |</span><span> }} | ||
|<span style=" | |<span style=" | ||
background-color: | background-color: {{{bc | {{Farbe|{{{2|rot}}} | v={{{v|}}} }} }}} | ||
padding:2px 4px 2px 4px; | padding:2px 4px 2px 4px; | ||
border:1px solid; | border:1px solid; | ||
Zeile 66: | Zeile 72: | ||
border-color: #cacaca; | border-color: #cacaca; | ||
font-weight:bold; | font-weight:bold; | ||
color:{{{ fc | {{Farbe|white-l}} }}}" | color:{{{ c |{{{ fc | {{Farbe|white-l}} }}} }}}" | ||
> {{#replace: {{#sub: {{{1| Neue Funktion ab Version {{{ 2 | 11.8 }}} }}} | 2 }} | § |</span><span> }} </span> | > {{#replace: {{#sub: {{{1| Neue Funktion ab Version {{{ 2 | 11.8 }}} }}} | 2 }} | § |</span><span> }} </span> | ||
| | | | ||
}} | }} | ||
}} | |||
}} | |||
{{#ifeq: {{padleft: | 1 | {{{1|}}} }} | ! | | |||
|<!-- Kein Ausrufezeichen, also der ganze Text --> | |<!-- Kein Ausrufezeichen, also der ganze Text --> | ||
{{#switch: | {{#switch: | ||
Zeile 79: | Zeile 88: | ||
| MS= | | MS= | ||
<span style=" | <span style=" | ||
background-color: | background-color: {{{bc | {{Farbe|{{{2|rot}}} | v={{{v|}}} }} }}} | ||
padding:1px; | padding:1px; | ||
border:1px solid; | border:1px solid; | ||
Zeile 101: | Zeile 99: | ||
}} | }} | ||
font-weight:bold; | font-weight:bold; | ||
color:{{{ fc | {{Farbe | white-l}} }}}" | color:{{{c | {{{ fc | {{Farbe | white-l}} }}} }}}" | ||
| UTM | | UTM | ||
| #default= | | #default= | ||
<span style=" | <span style=" | ||
background-color: | background-color: {{{bc | {{Farbe|{{{2|rot}}} | v={{{v|}}} }} }}} | ||
padding:1px; | padding:1px; | ||
border:1px solid; | border:1px solid; | ||
Zeile 123: | Zeile 110: | ||
border-color: #cacaca; | border-color: #cacaca; | ||
font-weight:bold; | font-weight:bold; | ||
color:{{{ fc | white}}}" | color:{{{ c | {{{ fc | white}}} }}}" | ||
}} | }} | ||
>{{#replace: {{{1| | >{{#replace: {{{1| Hinweis: }}} | § |</span><span> }}</span> | ||
}} | }} | ||
|<noinclude>{{{ 1 | Das ist alt}}}</noinclude> | |||
}} <noinclude> | }} <noinclude> | ||
{{Dokumentation}} | {{Dokumentation}} | ||
</noinclude> | </noinclude> |
Vorlage:Hinweis alt: Unterschied zwischen den Versionen
Aus Securepoint Wiki