Vorlage:Infobox Partei/Mandate: Unterschied zwischen den Versionen
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…“) |
|||
| 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}} %">{{{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}} %">{{{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> | ||
Version vom 31. Oktober 2023, 03:06 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}}