<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://politicalsg.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AHansard-mp-record-month</id>
	<title>Template:Hansard-mp-record-month - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://politicalsg.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AHansard-mp-record-month"/>
	<link rel="alternate" type="text/html" href="https://politicalsg.com/index.php?title=Template:Hansard-mp-record-month&amp;action=history"/>
	<updated>2026-07-21T22:55:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://politicalsg.com/index.php?title=Template:Hansard-mp-record-month&amp;diff=5119&amp;oldid=prev</id>
		<title>SGPolitico at 20:44, 16 July 2026</title>
		<link rel="alternate" type="text/html" href="https://politicalsg.com/index.php?title=Template:Hansard-mp-record-month&amp;diff=5119&amp;oldid=prev"/>
		<updated>2026-07-16T20:44:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:44, 16 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&quot;mw-collapsible mw-collapsed&quot; style=&quot;margin:0.2em 0 0.2em 1.5em;border:1px solid #c8ccd1;clear:both;&quot;&amp;gt;&amp;lt;div class=&quot;mw-collapsible-toggle&quot; style=&quot;display:block;float:none;clear:both;cursor:pointer;background:#eaecf0;padding:0.25em 0.6em;font-weight:bold;&quot;&amp;gt;{{{MonthLabel|{{{YearMonth|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;mw-collapsible-content&quot; style=&quot;clear:both;&quot;&amp;gt;{{#cargo_query:tables=hansard_items,hansard_sittings|join on=hansard_items.sitting_id=hansard_sittings.sitting_id|fields=hansard_items.sitting_date=Date,hansard_items.item_type=Type,hansard_items.subject=Subject,CONCAT(&quot;[[&quot;,hansard_items._pageName,&quot;#&quot;,hansard_items.item_id,&quot;|→]]&quot;)=Link|where=(hansard_items.asking_mp_id=&quot;{{{MPId|}}}&quot; OR hansard_items.speaker_mp_id=&quot;{{{MPId|}}}&quot;) AND DATE_FORMAT(hansard_items.sitting_date,&quot;%Y-%m&quot;)=&quot;{{{YearMonth|}}}&quot;|order by=hansard_items.sitting_date|format=dynamictable}}&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&quot;mw-collapsible mw-collapsed&quot; style=&quot;margin:0.2em 0 0.2em 1.5em;border:1px solid #c8ccd1;clear:both;&quot;&amp;gt;&amp;lt;div class=&quot;mw-collapsible-toggle&quot; style=&quot;display:block;float:none;clear:both;cursor:pointer;background:#eaecf0;padding:0.25em 0.6em;font-weight:bold;&quot;&amp;gt;{{{MonthLabel|{{{YearMonth|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;mw-collapsible-content&quot; style=&quot;clear:both;&quot;&amp;gt;{{#cargo_query:tables=hansard_items,hansard_sittings|join on=hansard_items.sitting_id=hansard_sittings.sitting_id|fields=hansard_items.sitting_date=Date,hansard_items.item_type=Type,hansard_items.subject=Subject,CONCAT(&quot;[[&quot;,hansard_items._pageName,&quot;#&quot;,hansard_items.item_id,&quot;|→]]&quot;)=Link|where=(hansard_items.asking_mp_id=&quot;{{{MPId|}}}&quot; OR hansard_items.speaker_mp_id=&quot;{{{MPId|}}}&quot;) AND DATE_FORMAT(hansard_items.sitting_date,&quot;%Y-%m&quot;)=&quot;{{{YearMonth|}}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; AND hansard_items.item_type!=&quot;supplementary_question&lt;/ins&gt;&quot;|order by=hansard_items.sitting_date|format=dynamictable}}&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Cargo templates]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Cargo templates]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Hansard templates]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Hansard templates]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SGPolitico</name></author>
	</entry>
	<entry>
		<id>https://politicalsg.com/index.php?title=Template:Hansard-mp-record-month&amp;diff=5088&amp;oldid=prev</id>
		<title>SGPolitico at 18:47, 15 July 2026</title>
		<link rel="alternate" type="text/html" href="https://politicalsg.com/index.php?title=Template:Hansard-mp-record-month&amp;diff=5088&amp;oldid=prev"/>
		<updated>2026-07-15T18:47:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:47, 15 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&quot;mw-collapsible mw-collapsed&quot; style=&quot;margin:0.2em 0 0.2em 1.5em;border:1px solid #c8ccd1;&quot;&amp;gt;&amp;lt;div style=&quot;background:#eaecf0;padding:0.25em 0.6em;font-weight:bold;&quot;&amp;gt;{{{MonthLabel|{{{YearMonth|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;mw-collapsible-content&quot;&amp;gt;{{#cargo_query:tables=hansard_items,hansard_sittings|join on=hansard_items.sitting_id=hansard_sittings.sitting_id|fields=hansard_items.sitting_date=Date,hansard_items.item_type=Type,hansard_items.subject=Subject,CONCAT(&quot;[[&quot;,hansard_items._pageName,&quot;#&quot;,hansard_items.item_id,&quot;|→]]&quot;)=Link|where=(hansard_items.asking_mp_id=&quot;{{{MPId|}}}&quot; OR hansard_items.speaker_mp_id=&quot;{{{MPId|}}}&quot;) AND DATE_FORMAT(hansard_items.sitting_date,&quot;%Y-%m&quot;)=&quot;{{{YearMonth|}}}&quot;|order by=hansard_items.sitting_date|format=dynamictable}}&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&quot;mw-collapsible mw-collapsed&quot; style=&quot;margin:0.2em 0 0.2em 1.5em;border:1px solid #c8ccd1&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;;clear:both&lt;/ins&gt;;&quot;&amp;gt;&amp;lt;div &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;class=&quot;mw-collapsible-toggle&quot; &lt;/ins&gt;style=&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;display:block;float:none;clear:both;cursor:pointer;&lt;/ins&gt;background:#eaecf0;padding:0.25em 0.6em;font-weight:bold;&quot;&amp;gt;{{{MonthLabel|{{{YearMonth|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;mw-collapsible-content&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; style=&quot;clear:both;&lt;/ins&gt;&quot;&amp;gt;{{#cargo_query:tables=hansard_items,hansard_sittings|join on=hansard_items.sitting_id=hansard_sittings.sitting_id|fields=hansard_items.sitting_date=Date,hansard_items.item_type=Type,hansard_items.subject=Subject,CONCAT(&quot;[[&quot;,hansard_items._pageName,&quot;#&quot;,hansard_items.item_id,&quot;|→]]&quot;)=Link|where=(hansard_items.asking_mp_id=&quot;{{{MPId|}}}&quot; OR hansard_items.speaker_mp_id=&quot;{{{MPId|}}}&quot;) AND DATE_FORMAT(hansard_items.sitting_date,&quot;%Y-%m&quot;)=&quot;{{{YearMonth|}}}&quot;|order by=hansard_items.sitting_date|format=dynamictable}}&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Usage ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Not called directly. Invoked automatically by the outer month-grouping {{tl|Hansard-item-cargo}} query on each MP&#039;s Parliamentary Record section, via &amp;lt;code&amp;gt;format=template|template=Hansard-mp-record-month|named args=yes&amp;lt;/code&amp;gt;. One call is generated per distinct month that has data for that MP.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Parameters ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{| class=&quot;wikitable&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;! Parameter !! Source !! Notes&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| YearMonth || DATE_FORMAT(sitting_date,&quot;%Y-%m&quot;) from the outer query || e.g. 2026-07. Used to filter the inner query and as fallback heading text.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MonthLabel || DATE_FORMAT(sitting_date,&quot;%M %Y&quot;) from the outer query || e.g. July 2026. Human-readable heading, preferred over YearMonth when present.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MPId || Literal string passed by the outer query (e.g. &quot;cai-yinzhou&quot;=MPId) || Must match the mp_id used in the outer query&#039;s WHERE clause.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Renders a collapsed accordion, one per month, each containing its own sortable {{tl|Hansard-item-cargo}}-sourced table for that MP in that month.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Cargo templates]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Cargo templates]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Hansard templates]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Hansard templates]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SGPolitico</name></author>
	</entry>
	<entry>
		<id>https://politicalsg.com/index.php?title=Template:Hansard-mp-record-month&amp;diff=5084&amp;oldid=prev</id>
		<title>SGPolitico: Created page with &quot;&lt;includeonly&gt;&lt;div class=&quot;mw-collapsible mw-collapsed&quot; style=&quot;margin:0.2em 0 0.2em 1.5em;border:1px solid #c8ccd1;&quot;&gt;&lt;div style=&quot;background:#eaecf0;padding:0.25em 0.6em;font-weight:bold;&quot;&gt;{{{MonthLabel|{{{YearMonth|}}}}}}&lt;/div&gt;&lt;div class=&quot;mw-collapsible-content&quot;&gt;{{#cargo_query:tables=hansard_items,hansard_sittings|join on=hansard_items.sitting_id=hansard_sittings.sitting_id|fields=hansard_items.sitting_date=Date,hansard_items.item_type=Type,hansard_items.subject=Subject,CO...&quot;</title>
		<link rel="alternate" type="text/html" href="https://politicalsg.com/index.php?title=Template:Hansard-mp-record-month&amp;diff=5084&amp;oldid=prev"/>
		<updated>2026-07-15T18:10:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;margin:0.2em 0 0.2em 1.5em;border:1px solid #c8ccd1;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:#eaecf0;padding:0.25em 0.6em;font-weight:bold;&amp;quot;&amp;gt;{{{MonthLabel|{{{YearMonth|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;{{#cargo_query:tables=hansard_items,hansard_sittings|join on=hansard_items.sitting_id=hansard_sittings.sitting_id|fields=hansard_items.sitting_date=Date,hansard_items.item_type=Type,hansard_items.subject=Subject,CO...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;margin:0.2em 0 0.2em 1.5em;border:1px solid #c8ccd1;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:#eaecf0;padding:0.25em 0.6em;font-weight:bold;&amp;quot;&amp;gt;{{{MonthLabel|{{{YearMonth|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;{{#cargo_query:tables=hansard_items,hansard_sittings|join on=hansard_items.sitting_id=hansard_sittings.sitting_id|fields=hansard_items.sitting_date=Date,hansard_items.item_type=Type,hansard_items.subject=Subject,CONCAT(&amp;quot;[[&amp;quot;,hansard_items._pageName,&amp;quot;#&amp;quot;,hansard_items.item_id,&amp;quot;|→]]&amp;quot;)=Link|where=(hansard_items.asking_mp_id=&amp;quot;{{{MPId|}}}&amp;quot; OR hansard_items.speaker_mp_id=&amp;quot;{{{MPId|}}}&amp;quot;) AND DATE_FORMAT(hansard_items.sitting_date,&amp;quot;%Y-%m&amp;quot;)=&amp;quot;{{{YearMonth|}}}&amp;quot;|order by=hansard_items.sitting_date|format=dynamictable}}&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
Not called directly. Invoked automatically by the outer month-grouping {{tl|Hansard-item-cargo}} query on each MP&amp;#039;s Parliamentary Record section, via &amp;lt;code&amp;gt;format=template|template=Hansard-mp-record-month|named args=yes&amp;lt;/code&amp;gt;. One call is generated per distinct month that has data for that MP.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Source !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| YearMonth || DATE_FORMAT(sitting_date,&amp;quot;%Y-%m&amp;quot;) from the outer query || e.g. 2026-07. Used to filter the inner query and as fallback heading text.&lt;br /&gt;
|-&lt;br /&gt;
| MonthLabel || DATE_FORMAT(sitting_date,&amp;quot;%M %Y&amp;quot;) from the outer query || e.g. July 2026. Human-readable heading, preferred over YearMonth when present.&lt;br /&gt;
|-&lt;br /&gt;
| MPId || Literal string passed by the outer query (e.g. &amp;quot;cai-yinzhou&amp;quot;=MPId) || Must match the mp_id used in the outer query&amp;#039;s WHERE clause.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Renders a collapsed accordion, one per month, each containing its own sortable {{tl|Hansard-item-cargo}}-sourced table for that MP in that month.&lt;br /&gt;
&lt;br /&gt;
[[Category:Cargo templates]]&lt;br /&gt;
[[Category:Hansard templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>SGPolitico</name></author>
	</entry>
</feed>