Vorlage:Balkendiagramm: Unterschied zwischen den Versionen

Aus OGD Cockpit
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<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>{#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|}}}
<noinclude></noinclude><includeonly>{{#switch: {{{1|}}}
  | 0 =  
  | 0 = <div style="display:inline-block; margin-top: 0px;">[[Bild:Achtung.png|12px|link=|Achtung!]]</div>
  | 1 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div>
  | 1
  | 2 = result2
| 2 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div>
  | 3 = result2
  | 3 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:yellow; 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:green; height:{{{2|}}}px; margin-top: 0px;"></div>
  | #default =  
  | #default = -
}}
}}

Aktuelle Version vom 13. Juni 2013, 08:55 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>