Template talk:UK general election opinion polling
Latest comment: 4 years ago by Ralbegen in topic Formatting
Formatting
editHello PinkPanda272, thanks for making this! Do you think you could change the formatting for the next election from "next election" to "Next election"? I'm afraid I lack the know-how to take a swing at a solution myself. Ralbegen (talk) 17:00, 27 August 2020 (UTC)
- Hi Ralbegen, thanks for raising this point. Normally I would be able to capitalise "next" in the parameter, but because the input gets pasted into the middle of a sentence to link to "Opinion polling for the next general election", it needs to be lowercase. This setup works fine for numerical values, but words need to be inputted identically to the article name, otherwise it shows up as a redlink. I could probably create a special parameter for the next election, so it knows to use a capital letter and not the same formatting as it would for ordinary page names. PinkPanda272 (talk/contribs) 17:37, 27 August 2020 (UTC)
- I have fixed the problem now, will update the article in a second. PinkPanda272 (talk/contribs) 17:48, 27 August 2020 (UTC)
- Fantastic, thank you! Ralbegen (talk) 20:01, 27 August 2020 (UTC)