Template:Constituency-changes-cargo: Difference between revisions
SGPolitico (talk | contribs) (Created page with "{{#cargo_declare:_table=constituency_changes |change_id=String |constituency_id=String |election_year=String |change_type=String |seats_before=Integer |seats_after=Integer |electors=Integer |electors_per_seat=Integer |eld_report_year=String |predecessor_ids=String |successor_ids=String |editorial_notes=String |verified=String |last_updated=Date }}<noinclude> Stores one change event per instance. A constituency with multiple changes across elections gets multiple instance...") |
SGPolitico (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{#cargo_declare:_table=constituency_changes | <noinclude>{{#cargo_declare:_table=constituency_changes | ||
|change_id=String | |change_id=String | ||
|constituency_id=String | |constituency_id=String | ||
| Line 14: | Line 14: | ||
|verified=String | |verified=String | ||
|last_updated=Date | |last_updated=Date | ||
}}<noinclude> | }}</noinclude><includeonly>{{#cargo_store:_table=constituency_changes | ||
Stores one change event per instance. | |change_id={{{change_id|}}} | ||
|constituency_id={{{constituency_id|}}} | |||
|election_year={{{election_year|}}} | |||
|change_type={{{change_type|}}} | |||
|seats_before={{{seats_before|}}} | |||
|seats_after={{{seats_after|}}} | |||
|electors={{{electors|}}} | |||
|electors_per_seat={{{electors_per_seat|}}} | |||
|eld_report_year={{{eld_report_year|}}} | |||
|predecessor_ids={{{predecessor_ids|}}} | |||
|successor_ids={{{successor_ids|}}} | |||
|editorial_notes={{{editorial_notes|}}} | |||
|verified={{{verified|}}} | |||
|last_updated={{{last_updated|}}} | |||
}}</includeonly> | |||
<noinclude> | |||
Stores one constituency change event per instance. | |||
A constituency with multiple changes across elections | A constituency with multiple changes across elections | ||
gets multiple instances of this template on its page. | gets multiple instances of this template on its page. | ||
| Line 23: | Line 39: | ||
boundary_change / type_change | boundary_change / type_change | ||
editorial_notes is the primary record of context and | |||
background since EBRC does not publish official reasons. | |||
editorial_notes | |||
Be as detailed as possible. | Be as detailed as possible. | ||
| Line 37: | Line 48: | ||
Usage: | Usage: | ||
{{Constituency-changes-cargo | {{Constituency-changes-cargo | ||
|change_id=tampines-grc- | |change_id=tampines-grc-2025 | ||
|constituency_id=tampines-grc | |constituency_id=tampines-grc | ||
|election_year= | |election_year=2025 | ||
|change_type=boundary_change | |change_type=boundary_change | ||
|seats_before=5 | |seats_before=5 | ||
|seats_after=5 | |seats_after=5 | ||
|electors= | |electors=167871 | ||
|electors_per_seat= | |electors_per_seat=33574 | ||
|eld_report_year= | |eld_report_year=2025 | ||
|predecessor_ids= | |predecessor_ids= | ||
|successor_ids= | |successor_ids= | ||
|editorial_notes= | |editorial_notes= | ||
|verified=yes | |verified=yes | ||
|last_updated=2026-05-16 | |last_updated=2026-05-16 | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 08:59, 16 May 2026
This template defines the table "constituency_changes". View table.
Stores one constituency change event per instance. A constituency with multiple changes across elections gets multiple instances of this template on its page.
Valid change_type values: created / abolished / resized / renamed / boundary_change / type_change
editorial_notes is the primary record of context and background since EBRC does not publish official reasons. Be as detailed as possible.
electors = total registered voters at time of this election. electors_per_seat = electors divided by seats_after.
Usage: