Vorlage:Fortschrittsbalken: Unterschied zwischen den Versionen

Aus Wiki - FabLab Lübeck e.V.
 
(27 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<div style="
<onlyinclude>
  width:{{{width|75%}}};
  <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;">
{{#ifeq: {{{center|yes}}} | yes |
   
  margin:auto;
<div style="background:lightsteelblue; margin-bottom:2px; text-align:center; font-size:118%; font-weight:bold; width:100%;">  
  text-align:center;}}">
    {{#if: {{{Projektname|}}}|{{{Projektname}}}|{{PAGENAME}} }} </div>
{{#ifeq: {{{header|yes}}} | yes
| <p>
 
  <big>
{| class="wikitable" style="width:100%; margin:0; text-align:left;"
  '''{{#expr: ( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}}) * 100 round 1}}%'''
 
  </big>
|-
  {{{text|completed <small>(estimate)</small>}}}
!colspan="2"| {{#if: {{{Ansprechpartner-Param|}}}| Ansprechpartner{{!}} {{{Ansprechpartner-Param}}} }}
  </p>
}}
|-
<p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;">
!colspan="2"| {{#if:{{{DatumDesProjektabschlusses-Param |}}} | DatumDesProjektabschlusses {{{DatumDesProjektabschlusses-Param}}} }}
  <span style="
    width: {{#expr: {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%;
|-
    height: {{{height|2}}}px;
!colspan="2"| {{#if:{{{Zeitaufwand-Param|}}} | Zeitaufwand  {{{Zeitaufwand-Param}}} }}
    background:{{{color1|#5FDB00}}};
 
    float:left;
|-
    ">&nbsp;</span>
!colspan="2"| {{#if:{{{Kosten-Param |}}} | Kosten{{{Kosten-Param}}} }}
  <span style="
 
    width:{{#expr: 100 - {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%;
|-
    height:{{{height|2}}}px;
!colspan="2"| {{#if:{{{Vorraussetzungen-Param |}}} | Vorraussetzungen {{{Vorraussetzungen-Param}}} }}
    background:{{{color2|#efefef}}};
    float:left;
|-
    ">&nbsp;</span>
|}
</p>
  </div>
</div>
</onlyinclude>

Aktuelle Version vom 2. November 2016, 11:36 Uhr

Fortschrittsbalken