Template:Composition bar: Difference between revisions
SGPolitico (talk | contribs) (Created page with "<div style="width: 100%; background-color: #e6e6e6; border: 1px solid #ccc; height: 20px; position: relative;"> <div style="width: {{{1}}}%; background-color: {{#switch: {{{party|}}} | PAP = #2b58ab | WP = #5a99fe | SDP = #fe0000 | NSP = #fd7a06 | RP = #ffc000 | SDA = #002060 | default = #cccccc }}; height: 100%;"></div> <span style="position: absolute; left: 50%; transform: translateX(-50%); font-size: 12px; line-height: 20px; color: #0...") |
SGPolitico (talk | contribs) No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<div style="width: 100%; background-color: #e6e6e6; border: 1px solid #ccc; height: | <div style="width: 100%; background-color: #e6e6e6; border: 1px solid #ccc; height: 100%; position: relative;"> | ||
<div style="width: {{{1}}}%; background-color: {{#switch: {{{party|}}} | <div style="width: {{{1}}}%; background-color: {{#switch: {{{party|}}} | ||
| PAP = #2b58ab | | PAP = #2b58ab |
Revision as of 21:11, 16 November 2024
{{{1}}}%