Template:Party-barcolor: Difference between revisions

From PoliticalSG
No edit summary
No edit summary
Line 1: Line 1:
background-color:{{#switch:{{{party}}}
<div style="background-color:{{#switch:{{{party}}}
| PAP=#e5e7e9
| PAP=#e5e7e9
| WP=#aed6f1
| WP=#aed6f1
Line 13: Line 13:
| PAR=#e7781c
| PAR=#e7781c
| #566573
| #566573
}}
}}; padding:0; width:{{#expr:{{{votepercent}}} round 2}}px;">&nbsp;{{#expr:{{{votepercent}}} round 2}}%</div>
 
[[category:templates]]
[[category:templates]]

Revision as of 14:08, 16 March 2025

<div style="background-color:

  1. 566573; padding:0; width:Expression error: Unrecognized punctuation character "{".px;"> Expression error: Unrecognized punctuation character "{".%