Difference between revisions of "Template:HOCa"
Jump to navigation
Jump to search
Template documentation
imported>FlyingChrysalis |
imported>FlyingChrysalis (Templates can't self-reference and {{sum}} can't subtract data from templates.) |
||
Line 2: | Line 2: | ||
| GOV = {{HOC|CON}} | | GOV = {{HOC|CON}} | ||
| CS = {{HOC|DUP}} | | CS = {{HOC|DUP}} | ||
− | | GOVCS = {{sum|{{ | + | | GOVCS = {{sum|{{HOC|CON}}|{{HOC|DUP}}}} |
| OPP = {{sum|{{HOC|LAB}}|{{HOC|SNP}}|{{HOC|LD}}|{{HOC|SF}}|{{HOC|IGC}}|{{HOC|PC}}|{{HOC|GP}}|{{HOC|IND}}}} | | OPP = {{sum|{{HOC|LAB}}|{{HOC|SNP}}|{{HOC|LD}}|{{HOC|SF}}|{{HOC|IGC}}|{{HOC|PC}}|{{HOC|GP}}|{{HOC|IND}}}} | ||
<!--| CONv = {{sum|{{HOC|CON}}|-{{HOC|CONds}}}} <!--voting total--> | <!--| CONv = {{sum|{{HOC|CON}}|-{{HOC|CONds}}}} <!--voting total--> |
Revision as of 20:25, 17 November 2019

This data template performs calculations on the figures contained in the HOC template.
Usage
{{HOC|Abbreviation}}
→ Number of seats
Examples
{{HOCa|GOV}}
→ 298{{HOCa|CS}}
→ 10{{HOCa|GOVCS}}
→ Template:Sum{{HOCa|OPP}}
→ Template:Sum
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |