Templat:MP-MY baris
Penggal | Tahun | Ahli | Parti | |
---|---|---|---|---|
{{{FromYr}}}–kini |
Standard template for row in Ahli Dewan Undangan Negeri table in Malaysian Election/Candidate/Riding articles.
Penggunaan
Use to create row for individual results following {{MP-MY}} template to create headings; complete with {{MP-MY akhir}} template to close the series. Optionally use {{MP-MY tiadadata}} if periods of data are missing.
{{MP-MY}} {{MP-MY baris | FromYr = | ToYr = | Negeri = | Assembly# = | MYParti = | MYPartiLink = | RepName = | RepLink = | #ByElections = | PartyTerms# = | RepTerms# = }} {{MP-MY tiadadata}} {{MP-MY baris … }} {{MP-MY akhir}}
where
• | FromYr | → | [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 to Dewan Undangan Negeri ke-39), automatically handles mapping to proper numeric suffix (i.e. 40 → ke-40, 41 → ke-41, 42 → ke-42, 43 → ke-43, 44 → ke-44, etc.); | |||
• | MYParti | → | Name of party (where both {Template:Malaysian politics/party colours/MYParti} and {Malaysia MYParti Party} (or redirects) exist); | |||
• | MYPartiLink | → | May be used to override the default article ("Malaysia MYParti Party") wikilinked to MYParti (above) — Use MYPartiLink=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 omit MYParti 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 MYParti and PartyTerms# unless they changed affiliation). |