Template:MP-appointments-cargo: Difference between revisions
SGPolitico (talk | contribs) No edit summary |
SGPolitico (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{#cargo_declare:_table=mp_appointments | <noinclude>{{#cargo_declare:_table=mp_appointments | ||
|appointment_id=String | |appointment_id=String | ||
|mp_id=String | |mp_id=String | ||
| Line 9: | Line 9: | ||
|verified=String | |verified=String | ||
|last_updated=Date | |last_updated=Date | ||
}}<noinclude> | }}</noinclude><includeonly>{{#cargo_store:_table=mp_appointments | ||
|appointment_id={{{appointment_id|}}} | |||
|mp_id={{{mp_id|}}} | |||
|role_title={{{role_title|}}} | |||
|ministry_id={{{ministry_id|}}} | |||
|start_date={{{start_date|}}} | |||
|end_date={{{end_date|}}} | |||
|parliament_no={{{parliament_no|}}} | |||
|verified={{{verified|}}} | |||
|last_updated={{{last_updated|}}} | |||
}}</includeonly> | |||
<noinclude> | |||
Stores one appointment per instance. | Stores one appointment per instance. | ||
An MP with multiple roles gets multiple instances | An MP with multiple roles gets multiple instances | ||
of this template, one per appointment. | of this template, one per appointment. | ||
appointment_id format: mp_id + role + ministry_id + start_year | appointment_id format: mp_id + role + ministry_id + start_year | ||
| Line 22: | Line 31: | ||
Leave ministry_id blank for parliamentary roles. | Leave ministry_id blank for parliamentary roles. | ||
Valid role_title values: | Valid role_title values: | ||
| Line 61: | Line 67: | ||
|last_updated=2026-05-16 | |last_updated=2026-05-16 | ||
}} | }} | ||
</noinclude> | |||
</noinclude> | |||
Latest revision as of 08:58, 16 May 2026
This template defines the table "mp_appointments". View table.
Stores one appointment per instance. An MP with multiple roles gets multiple instances of this template, one per appointment.
appointment_id format: mp_id + role + ministry_id + start_year e.g. lawrence-wong-minister-mof-2021 e.g. pritam-singh-leader-of-opposition-2020 e.g. baey-yam-keng-sps-mot-2018
Leave ministry_id blank for parliamentary roles.
Valid role_title values:
Cabinet and Executive: Prime Minister Deputy Prime Minister Senior Minister Coordinating Minister Minister Acting Minister Second Minister Senior Minister of State Minister of State Senior Parliamentary Secretary Parliamentary Secretary
Parliamentary: Speaker Deputy Speaker Leader of the House Deputy Leader of the House Leader of Opposition Government Whip
Usage — cabinet appointment: