|
|
(26 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| <div style="position:relative;display:inline-block;font-size:{{{text-size|small}}};line-height:1.5;margin:{{{box-margin|1px}}};margin-left:0;margin-right:0;width:{{{box-width|100%}}};font-weight:{{{text-weight|bold}}};" {{#if: {{{title|}}} | | <onlyinclude> |
| | title="{{{title|}}}"
| | <div class="wikitable float-right" id="vorlage-infobox-Name" summary="Infobox Name" style="border:1px solid lightsteelblue; padding:5px; width:25em; margin:0 0 0.5em 1em; font-size:85%; background:#F9F9F9;"> |
| }}><!--
| | |
| --><div style="background:{{{box-background|#FFF}}};color:{{{text-color|#252525}}};border:{{{box-border|1px solid #AAA}}};padding:{{{box-padding|1px}}};"><!--
| | <div style="background:lightsteelblue; margin-bottom:2px; text-align:center; font-size:118%; font-weight:bold; width:100%;"> |
| --><div style="position:relative"><!--
| | {{#if: {{{Projektname|}}}|{{{Projektname}}}|{{PAGENAME}} }} </div> |
| --><div style="position:relative;z-index:1;top:0;{{#if: {{{bar-background|}}}
| | |
| | background:{{{bar-background|}}}; | | |
| | {{#ifexpr: ({{{min|0}}}) >= ({{{max|100}}}) or ({{{current|0}}}) < ({{{min|0}}})
| | {| class="wikitable" style="width:100%; margin:0; text-align:left;" |
| | background:#AAA;
| | |
| | {{#ifexpr: ({{{current|0}}}) >= ({{{max|100}}})
| | |- |
| | background:#0F0;
| | !colspan="2"| {{#if: {{{Ansprechpartner-Param|}}}| Ansprechpartner{{!}} {{{Ansprechpartner-Param}}} }} |
| | background:rgb({{#expr: (
| | |
| (({{{current|0}}}) - ({{{min|0}}})) / (({{{max|100}}}) - ({{{min|0}}})) * (160 - 255)+255
| | |- |
| ) round 0}},{{#expr: (
| | !colspan="2"| {{#if:{{{DatumDesProjektabschlusses-Param |}}} | DatumDesProjektabschlusses {{{DatumDesProjektabschlusses-Param}}} }} |
| (({{{current|0}}}) - ({{{min|0}}})) / (({{{max|100}}}) - ({{{min|0}}})) * (240 - 128)+128
| | |
| ) round 0}},{{#expr: (
| | |- |
| (({{{current|0}}}) - ({{{min|0}}})) / (({{{max|100}}}) - ({{{min|0}}})) * ( 0 - 128)+128
| | !colspan="2"| {{#if:{{{Zeitaufwand-Param|}}} | Zeitaufwand {{{Zeitaufwand-Param}}} }} |
| ) round 0}});
| | |
| }}
| | |- |
| }}
| | !colspan="2"| {{#if:{{{Kosten-Param |}}} | Kosten{{{Kosten-Param}}} }} |
| }}color:transparent;text-align:left;{{#if: {{{progression|}}}
| | |
| | width:{{{progression|}}}; | | |- |
| | width:{{#ifexpr: ({{{min|0}}}) >= ({{{max|100}}}) or ({{{current|0}}}) <= ({{{min|0}}}) | | !colspan="2"| {{#if:{{{Vorraussetzungen-Param |}}} | Vorraussetzungen {{{Vorraussetzungen-Param}}} }} |
| | 0
| | |
| | {{#ifexpr: ({{{current|0}}}) >= ({{{max|100}}})
| | |- |
| | 100%
| | |} |
| | {{#expr: (({{{current|0}}}) - ({{{min|0}}})) / (({{{max|100}}}) - ({{{min|0}}})) * 100 round 6}}%
| | </div> |
| }}
| | </onlyinclude> |
| }};
| |
| }}"> </div><!--
| |
| --><div style="position:absolute;z-index:2;top:0;width:100%;background:transparent;text-align:center;">{{#if: {{{progression|}}}
| |
| | {{{progression|}}} | |
| | {{#ifeq: {{{mode|}}} | value
| |
| | {{{current|0}}}
| |
| | {{#ifexpr: ({{{min|0}}}) >= ({{{max|100}}})
| |
| | ?
| |
| | {{#expr: (({{{current|0}}}) - ({{{min|0}}})) / (({{{max|100}}}) - ({{{min|0}}})) * 100 round 1}}%
| |
| }}
| |
| }} {{{desc|}}}
| |
| }}</div><!--
| |
| --></div></div></div
| |