Template:Bar-voted/doc: Difference between revisions

From PoliticalSG
(Created page with " <pre> {{Bar-voted | totalvotes=143145 | party1=WP | party1votes=85815 | party2=PAP | party2votes=57330 | party3= | party3votes= }} </pre> Category:Templates")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
This generates a bar chart of the contesting parties, for both GRC & SMC. Min. 2 parties and max. 3 parties.
<pre>
<pre>
{{Bar-voted
{{Bar-voted
Line 7: Line 7:
| party2=PAP
| party2=PAP
| party2votes=57330
| party2votes=57330
| party3=
| party3= optional
| party3votes=
| party3votes= optional
}}
}}
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 21:35, 9 March 2025

This generates a bar chart of the contesting parties, for both GRC & SMC. Min. 2 parties and max. 3 parties.

{{Bar-voted
| totalvotes=143145
| party1=WP
| party1votes=85815
| party2=PAP
| party2votes=57330
| party3= optional
| party3votes= optional
}}