Jump to content

Template talk:Election results

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

Percentages

[edit]

The template shows the percentages without counting blank votes. This in turn shows wrong results AlexBobCharles (talk) 08:48, 12 July 2024 (UTC)[reply]

Blank votes can be added in cases where they are considered valid votes (such as in Colombian presidential elections). See, for example, here. However, this should only be done when blank votes are deemed to be valid votes (i.e. NOTA). Cheers, Number 57 21:57, 12 July 2024 (UTC)[reply]

Night mode: overall statistics barely visible

[edit]

Labels of overall statistics are barely visible. This applies to things like the labels of "Valid votes", "Invalid votes", "Blank votes". These labels are set with "background: inherit". The night mode extension applies an #202122 text color of anything with an background color, in the belief that the background color is different than black. In this case though, the background is dark, so the text is barely visible. Snævar (talk) 18:20, 15 July 2024 (UTC)[reply]

Can you guys make election results template for Serbian Wikipedia?

[edit]

I'll help into making it for Serbian Wikipedia. “Template:Election results” will be “Шаблон:Изборни резултати” (Infobox will be Инфокутија). Votes are “Гласови”, Seats are “Мандати” etc. Hadjnix (talk) 09:05, 19 July 2024 (UTC)[reply]

ipct1, ipct2 don't seem to work

[edit]

In 2024 Venezuelan presidential election#Results announced by the CNE and 2024 Venezuelan presidential election#Results announced by the PUD there is currently a big problem of poor sourcing. How can we prevent the template from calculating totals when it's too early?

For the PUD version, I tried inserting ipct1= and ipct2 values, but this didn't override the automatic calculations of percentages, and of writing a total. Feel free to edit my sandbox with User:Boud/sandbox#election results template directly if that's faster than explaining. Boud (talk) 11:35, 30 July 2024 (UTC)[reply]

The ipct1, ipct2 variables work, but only if the count, not total count, is absent. This is a documentation bug. Still, it would be is (edit) nice to be able to have the official counts and percentages while blocking the total. Boud (talk) 12:26, 30 July 2024 (UTC)[reply]
The doc could maybe still be improved slightly, but the functions are fine. Boud (talk) 12:42, 30 July 2024 (UTC)[reply]
 Done Boud (talk) 12:47, 30 July 2024 (UTC)[reply]