Standard template for headings of Members of the Legislative Assembly of Alberta table in Alberta Election/Candidate/Riding articles. Based on entirely on Template:OntMPP .
Usage
{{AbMLA/top}}
{{AbMLA/row … }}
{{AbMLA/end}}
Use {{AbMLA/top}} as the top of the new table. Use with {{AbMLA/row}} template to list individual results and the {{AbMLA/end}} template to close the series. The template {{AbMLA/NoData}} creates a break in the series in which text may be included in Bold centered. The template {{AbMLA/change}} creates a break in the series in which text may be included in Italic-Bold centered.
Examples
Note how the …Terms# parameters replace the duplicate of information and span multiple rows in the table:
{{AbMLA/top}}
{{AbMLA/row
| FromYr = 1975
| ToYr = 1979
| Assembly# = 18
| AbParty = PC
| RepName = Tom Lysons
| RepLink =
| #ByElections =
| PartyTerms# =
| RepTerms# =
}}
{{AbMLA/row
| FromYr = 1979
| ToYr = 1982
| Assembly# = 19
| AbParty = PC
| RepName = Tom Lysons
| RepLink =
| #ByElections =
| PartyTerms# =
| RepTerms# =
}}
{{AbMLA/end}}
{{AbMLA/top|Members of the Legislative Assembly for Nanton-Claresholm }}
{{AbMLA/change|See [[Claresholm (provincial electoral district)|Claresholm]] electoral district from 1909-1929 }}
{{AbMLA/row
| FromYr = 1930
| ToYr = 1935
| Assembly# = 7
| AbParty = United Farmers
| RepName = Gordon Beverly Walker
| PartyTerms# = 1
| RepTerms# = 1
}}
{{AbMLA/row
| FromYr = 1935
| ToYr = 1940
| Assembly# = 8
| AbParty = Social Credit
| RepName = Harry O. Haslam
| PartyTerms# = 1
| RepTerms# = 1
}}
{{AbMLA/end}}
yields
Set the #ByElections to provide multiple results for a single sitting of the Legislature:
{{AbMLA|Parry Sound–Muskoka }}
{{AbMLA/row
| FromYr = 1999
| ToYr = 2001
| Assembly# = 37
| AbParty = Progressive Conservative
| RepName = Ernie Eves
| RepLink = Ernest Eves
| #ByElections = 1
| PartyTerms# = 5
| RepTerms# =
}}
{{AbMLA/row <!-- This is the by−election -->
| FromYr = 2001
| ToYr = 2003
| Assembly# = <!-- Leave Assembly# blank -->
| AbParty =
| RepName = Norm Miller
| RepLink =
| #ByElections =
| PartyTerms# =
| RepTerms# = 4
}}
{{AbMLA/row
| FromYr = 2003
| ToYr = 2007
| Assembly# = 38
| AbParty =
| RepName =
| RepLink =
| #ByElections =
| PartyTerms# =
| RepTerms# =
}}
{{AbMLA/row
| FromYr = 2007
| ToYr = 2011
| Assembly# = 39
| AbParty =
| RepName =
| RepLink =
| #ByElections =
| PartyTerms# =
| RepTerms# =
}}
{{AbMLA/row
| FromYr = 2011
| ToYr =
| Assembly# = 40
| AbParty =
| RepName =
| RepLink =
| #ByElections =
| PartyTerms# =
| RepTerms# =
}}
{{AbMLA/end}}
{{AbMLA|Parry Sound–Muskoka }}
{{AbMLA/row
| FromYr = 1999
| ToYr = 2001
| Assembly# = 37
| AbParty = Progressive Conservative
| RepName = Ernie Eves
| RepLink = Ernest Eves
| #ByElections = 1
| PartyTerms# = 5
}}
{{AbMLA/row
| FromYr = 2001
| ToYr = 2003
| RepName = Norm Miller
| RepTerms# = 4
}}
{{AbMLA/row
| FromYr = 2003
| ToYr = 2007
| Assembly# = 38
}}
{{AbMLA/row
| FromYr = 2007
| ToYr = 2011
| Assembly# = 39
}}
{{AbMLA/row
| FromYr = 2011
| Assembly# = 40
}}
{{AbMLA/end}}
yields
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 {{AbMLA/NoData}} template to insert a short greyed row into the table:
{{AbMLA|Durham }}
{{AbMLA/row
| FromYr = 1926
| ToYr = 1929
| Assembly# = 17
| AbParty = Liberal
| RepName = John Bragg
| RepLink = *NoWikiPage* <!-- This John Bragg has no wiki page but other John Bragg 's do. -->
| PartyTerms# = 4
| RepTerms# = 3
}}
{{AbMLA/row
| FromYr = 1929
| ToYr = 1934
| Assembly# = 18
}}
{{AbMLA/row
| FromYr = 1934
| ToYr = 1937
| Assembly# = 19
}}
{{AbMLA/row
| FromYr = 1937
| ToYr = 1943
| Assembly# = 20
| RepName = Cecil Mercer
| RepLink = Cecil George Mercer
}}
{{AbMLA/row
| FromYr = 1943
| ToYr = 1945
| Assembly# = 21
| AbParty = Progressive Conservative
| RepName = Percival Vivian
| RepLink = Percy Vivian
| PartyTerms# = 9
| RepTerms# = 2
}}
{{AbMLA/row
| FromYr = 1945
| ToYr = 1948
| Assembly# = 22
}}
{{AbMLA/row
| FromYr = 1948
| ToYr = 1951
| Assembly# = 23
| RepName = John Foote
| RepLink = John Weir Foote
| RepTerms# = 3
}}
{{AbMLA/row
| FromYr = 1951
| ToYr = 1955
| Assembly# = 24
}}
{{AbMLA/row
| FromYr = 1955
| ToYr = 1959
| Assembly# = 25
}}
{{AbMLA/row
| FromYr = 1959
| ToYr = 1963
| Assembly# = 26
| RepName = Hugh Carruthers
| RepTerms# = 4
}}
{{AbMLA/row
| FromYr = 1963
| ToYr = 1967
| Assembly# = 27
}}
{{AbMLA/row
| FromYr = 1967
| ToYr = 1971
| Assembly# = 28
}}
{{AbMLA/row
| FromYr = 1971
| ToYr = 1975
| Assembly# = 29
}}
{{AbMLA/NoData}}
{{AbMLA/row
| FromYr = 1999
| ToYr = 2003
| Assembly# = 37
| AbParty = Progressive Conservative
| RepName = John O'Toole
| PartyTerms# = 4
| RepTerms# = 4
}}
{{AbMLA/row
| FromYr = 2003
| ToYr = 2007
| Assembly# = 38
}}
{{AbMLA/row
| FromYr = 2007
| ToYr = 2011
| Assembly# = 39
}}
{{AbMLA/row
| FromYr = 2011
| Assembly# = 40
}}
{{AbMLA/end}}
{{AbMLA}}
{{AbMLA/NoData|Nepean}}
{{AbMLA/row
| FromYr = 1987
| ToYr = 1990
| Assembly# = 34
| AbParty = Liberal
| RepName = Hans Daigeler
| PartyTerms# = 2
| RepTerms# = 2
}}
{{AbMLA/row
| FromYr = 1990
| ToYr = 1995
| Assembly# = 35
}}
{{AbMLA/row
| FromYr = 1995
| ToYr = 1999
| Assembly# = 36
| AbParty = Progressive Conservative
| RepName = John Baird
| RepLink = John Baird (Canadian politician)
| PartyTerms# = <!-- Don't specify multiple terms in office
| RepTerms# = if using title/separator row within that range. -->
}}
{{AbMLA/NoData|Nepean—Carleton}}
{{AbMLA/row
| FromYr = 1999
| ToYr = 2003
| Assembly# = 37
| AbParty = Progressive Conservative
| RepName = John Baird
| RepLink = John Baird (Canadian politician)
| PartyTerms# = 5
| RepTerms# = 2
}}
{{AbMLA/row
| FromYr = 2003
| ToYr = 2005
| Assembly# = 38
| #ByElections = 1
}}
{{AbMLA/row
| FromYr = 2005
| ToYr = 2007
| RepName = Lisa MacLeod
| RepTerms# = 3
}}
{{AbMLA/row
| FromYr = 2007
| ToYr = 2011
| Assembly# = 39
}}
{{AbMLA/row
| FromYr = 2011
| ToYr = 2014
| Assembly# = 40
}}
{{AbMLA/row
| FromYr = 2014
| ToYr =
| Assembly# = 41
| AbParty =
| RepName =
}}
{{AbMLA/end}}
yields