Vorlage:Progressbar: Unterschied zwischen den Versionen
Aus OGD Cockpit
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude>{#ifexpr:{{{1|}}}<3|<div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div>|…“) |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
< | <includeonly>{{#switch: {{{1|}}} | ||
| 0 = <div class="progress"><div class="progress-bar progress-bar-danger" style="width: 10%"> <span class="sr-only">0 - Achtung!</span> </div> | |||
| 1 | | 1 | ||
| 2 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div> | | 2 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:red; height:{{{2|}}}px; margin-top: 0px;"></div> | ||
| 3 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:yellow; height:{{{2|}}}px; margin-top: 0px;"></div> | | 3 = <div style="display:inline-block; width:{{#expr: 10 * {{{1|}}}}}px; background:yellow; height:{{{2|}}}px; margin-top: 0px;"></div> | ||
| 4 | | 4 | ||
| 5 = <div style=" | | 5 = <div class="progress"><div class="progress-bar progress-bar-danger" style="width: 10%"></div> | ||
<div class="progress-bar progress-bar-warning progress-bar-striped" style="width: 40%"></div> | |||
<div class="progress-bar progress-bar-success" style="width: 50%"><span class="sr-only">5 Punkte</span> </div></div> | |||
| #default = - | | #default = - | ||
}} | }} |