Template:MP-cargo

From PoliticalSG
Revision as of 23:56, 15 May 2026 by SGPolitico (talk | contribs) (Created page with "{{#cargo_declare:_table=mp_profiles |mp_id=String |name=String |chinese_name=String |gender=String |race=String |date_of_birth=Date |deceased=Boolean |image=String |party_id=String |mp_status=String |parliament_url=String |wikidata_id=String |verified=String |last_updated=Date }}<noinclude> Stores core MP biographical data in the Cargo mp_profiles table. Place on each MP page alongside Infobox-person. Do not store office history or appointments here. Use MP-terms-cargo f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template defines the table "mp_profiles". View table. Stores core MP biographical data in the Cargo mp_profiles table. Place on each MP page alongside Infobox-person. Do not store office history or appointments here. Use MP-terms-cargo for parliamentary terms. Use MP-appointments-cargo for ministerial and parliamentary roles.

mp_id must be a permanent slug in lowercase hyphenated format. e.g. baey-yam-keng, pritam-singh, lawrence-wong This slug is referenced by all other tables. Never change it.

Valid gender values: Male / Female Valid race values: Chinese / Malay / Indian / Eurasian / Other Valid mp_status values: current / former Valid verified values: yes / no

party_id must reference a valid entry in the parties table. e.g. pap, wp, sdp, psp

Usage: This template defines the table "mp_profiles". View table.