Vorlage:Infobox Partei/Mandate: Unterschied zwischen den Versionen

Aus Ultos
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<onlyinclude><div style="background-color:#eeeeee;width:100px;height:18px;float:left;margin-right:5px;border:1px solid #bbb;"><div style="background-color:{{{3…“)
 
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<onlyinclude><div style="background-color:#eeeeee;width:100px;height:18px;float:left;margin-right:5px;border:1px solid #bbb;"><div style="background-color:{{{3|#888888}}};width:{{#expr:floor(100*{{{1|50}}}/{{{2|100}}})}}px;height:18px;"><div style="font-weight:bold;width:100px;text-align:center;height:18px;line-height:18px;color:{{{textfarbe|black}}};"><abbr title="{{#expr:({{{1|50}}}/{{{2|100}}}*100) round 0}}&nbsp;%">{{{1|50}}}/{{{2|100}}}</abbr></div></div></div></onlyinclude>
 
<onlyinclude><div style="background-color:#eeeeee;width:100px;height:18px;float:left;margin-right:5px;border:1px solid #bbb;"><div style="background-color:{{{3|#888888}}};width:{{#expr:floor(100*{{{1|50}}}/{{{2|100}}})}}px;height:18px;"><div style="font-weight:bold;width:100px;text-align:center;height:18px;line-height:18px;color:{{{textfarbe|black}}};"><abbr title="{{#expr:({{{1|50}}}/{{{2|100}}}*100) round 0}}&nbsp;%">{{{1|50}}}/{{{2|100}}}</abbr></div></div></div></onlyinclude>
 +
<br>
 +
 +
Beispiele:
 +
{{Infobox Partei/Mandate|10|100}} <code><nowiki>{{Infobox Partei/Mandate|10|100}}</nowiki></code>
 +
{{Infobox Partei/Mandate|40|200|green}} <code><nowiki>{{Infobox Partei/Mandate|40|200|green}}</nowiki></code>
 +
{{Infobox Partei/Mandate|160|300|#FF0000}} <code><nowiki>{{Infobox Partei/Mandate|160|300|#4b4}}</nowiki></code>
 +
 +
<noinclude>[[Kategorie:Vorlage:Infobox|Partei]]</noinclude>

Aktuelle Version vom 3. März 2024, 00:54 Uhr

50/100


Beispiele:

10/100

{{Infobox Partei/Mandate|10|100}}

40/200

{{Infobox Partei/Mandate|40|200|green}}

160/300

{{Infobox Partei/Mandate|160|300|#4b4}}