Vorlage:Balkendiagramm: Unterschied zwischen den Versionen
Aus OGD Cockpit
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<noinclude></noinclude><includeonly>{{# | <noinclude>{#ifexpr:{{{1|}}}<3|<div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div>|<div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:blue; height:{{{2|}}}px; margin-top: 0px;"></div>}}</includeonly></noinclude> | ||
<noinclude></noinclude><includeonly>{{{#switch: {{{1|}}} | |||
| 0 = | |||
| 1 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div> | |||
| 2 = result2 | |||
| 3 = result2 | |||
| 4 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:blue; height:{{{2|}}}px; margin-top: 0px;"></div> | |||
| 5 = result 5 | |||
| #default = | |||
}} | |||
Version vom 11. Juni 2013, 16:12 Uhr
{#ifexpr:<3|<div style="display:inline-block; width:Fehler im Ausdruck: Fehlender Operand für *px; background:red; height:px; margin-top: 0px;">|<div style="display:inline-block; width:Fehler im Ausdruck: Fehlender Operand für *px; background:blue; height:px; margin-top: 0px;">}}</includeonly>