Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.
Standard template for row in Members of Provincial Parliament table in Ontario Election/Candidate/Riding articles.
Usage
Use to create row for individual results following {{OntMPP}} template to create headings; complete with {{OntMPP End}} template to close the series. Optionally use {{OntMPP NoData}} if periods of data are missing.
[required] #### starting year of sitting (or by−election year);
•
ToYr
→
#### ending year of sitting (or By-Election year), omit in row for present sitting to display "FromYr–Present";
•
Assembly#
→
## indicating which sitting of the assembly (e.g. 39 links to39th Parliament of Ontario), automatically handles mapping to proper numeric suffix (i.e. 40→40th, 41→41st, 42→42nd, 43→43rd, 44→44th, etc.);
•
OntParty
→
Name of party (where both {Template:Canadian politics/party colours/OntParty} and {OntarioOntPartyParty} (or redirects) exist);
•
OntPartyLink
→
May be used to override the default article ("Ontario OntParty Party") wikilinked to OntParty(above) — Use OntPartyLink=none to suppress wikilink creation;
•
RepName
→
Firstname(s) Lastname of elected Representative (See also RepLink below);
•
RepLink
→
Link to Representative's wiki article, if it exists, (if omitted then automatically links to [[RepName]], if it exists), (assigning a non−existent value, such as "*Nothing*" or "NoRepLink", can force the template not to create a link in situations where an unrelated article exists for RepName and there is no wiki article which could be specified here);
•
#ByElections
→
# defined/non-zero only if SUBSEQUENT rows identify mid-term By-Elections (Set #ByElections = 1 if the following row defines the only by−election to have occurred (in this riding) during the assembly's sitting.Note: If more that one by−election occurs during a sitting then set this flag only on the first general election row and specify the total number of by−elections to occur during the sitting (i.e. If the riding had a general election followed by three by−elections, the first row for the general election should specify #ByElections = 3 and all subsequent rows of by−election data should omit this parameter and Assembly#));
•
PartyTerms#
→
# of SUBSEQUENT rows that this party holds the seat (i.e. If the party is elected in this riding three times in a row, the FIRST time they are elected should specify PartyTerms# = 3 and the subsequent 2 rows should omitOntParty and PartyTerms# parameters);
•
RepTerms#
→
# of SUBSEQUENT rows that this representative was elected to the seat (i.e. if the representative holds the seat in this riding for 4 elections (or 3 elections plus 1 By-Election) in a row, the FIRST time they are elected should specify RepTerms# = 4 and all subsequent rows (election or By-Election) should omit the RepName and RepTerms# parameters (as well as the OntParty and PartyTerms# unless they changed affiliation).
Examples
Note how the …Terms# parameters replace the duplicate of information and span multiple rows in the table:
NOTE: Changing the browser Zoom level may alter the wrapping of text in these side-by-side tables.
Where data is unavailable for one or more sittings, or where a title row is needed to identify change in electoral district name, use the {{OntMPP NoData}} template to insert a short greyed row into the table: