Vorlage:Balkendiagramm: Unterschied zwischen den Versionen

Aus OGD Cockpit
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 2: Zeile 2:
<noinclude></noinclude><includeonly>{{#switch: {{{1|}}}
<noinclude></noinclude><includeonly>{{#switch: {{{1|}}}
  | 0 =  
  | 0 =  
  | 1 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div>
  | 1
  | 2 = result2
| 2
  | 3 = result2
| 3 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div>
| 4 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:blue; height:{{{2|}}}px; margin-top: 0px;"></div>
  | 4
| 5 = result 5
  | 5 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:blue; height:{{{2|}}}px; margin-top: 0px;"></div>
  | #default =  
  | #default =  
}}
}}

Version vom 11. Juni 2013, 16:14 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>