Template:Hansard-sitting-cargo

From PoliticalSG
Revision as of 17:38, 15 July 2026 by SGPolitico (talk | contribs) (Created page with "<noinclude>{{#cargo_declare:_table=hansard_sittings |sitting_id=String |parliament_no=String |session_no=String |volume_no=String |sitting_no=String |sitting_date=Date |sprs_permalink=String |verified=String |last_updated=Date }}</noinclude><includeonly>{{#cargo_store:_table=hansard_sittings|sitting_id={{{sitting_id|}}}|parliament_no={{{parliament_no|}}}|session_no={{{session_no|}}}|volume_no={{{volume_no|}}}|sitting_no={{{sitting_no|}}}|sitting_date={{{sitting_date|}}}|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template defines the table "hansard_sittings". View table.

Usage

Place once at the top of each sitting-day page (layer 1 of the standard page anatomy — infobox/Cargo call, before the prose body).

{{Hansard-sitting-cargo
|sitting_id=p15-s32
|parliament_no=15
|session_no=1
|volume_no=96
|sitting_no=32
|sitting_date=2026-07-07
|sprs_permalink=
|verified=yes
|last_updated=2026-07-16
}}

Field reference

Field Type Required Notes
sitting_id slug Yes Permanent. Format: p{parliament_no}-s{sitting_no}, e.g. p15-s32
parliament_no String Yes e.g. 15
session_no String Yes e.g. 1
volume_no String Yes e.g. 96
sitting_no String Yes e.g. 32
sitting_date Date Yes ISO YYYY-MM-DD
sprs_permalink URL No Link to the SPRS report if available
verified String Yes yes / no
last_updated Date Yes

Cargo table: hansard_sittings. See also {{Hansard-item-cargo}}, used once per question/speech/bill reading on the same page.