Jump to content

Template talk:Canadian federal election results

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Adding a new year to existing template

[edit]

@Frietjes: Are there any shortcuts for inserting the results of a new election at the top of an existing template? The problem is, the newest elections have the lowest parameters (eg. year1=2015, year2=2011, year3=2008) and if I want to insert year1=2019, I'd have to shift every other parameter in the template. Is there any way to automate this rather than doing it manually? — Preceding unsigned comment added by Blaixx (talkcontribs) 13:10, 22 October 2019 (UTC)[reply]

@Frietjes: Blaixx left this message in 2019 but forgot to sign which means you probably missed the notification. --IznoPublic (talk) 18:57, 28 September 2021 (UTC)[reply]
Blaixx, I don't have a good solution other than using a regular expression search and replace with the advanced edit window. the same problem exists for {{infobox officeholder}} where people make mistakes renumbering daily. Frietjes (talk) 14:02, 29 September 2021 (UTC)[reply]