Template talk:United States presidential election results table row

Errors
@John M Wolfson, there are some errors that I'm unsure how to resolve (revert 1, 2). One is caused by  given as a parameter (for vote count). The other is caused when all values are.  Qwerfjkl talk  16:41, 22 April 2022 (UTC)
 * Both of those are unexpected behaviors that should not be in the table in the first place, so should be removed and replaced with more detailed explanations if need be, or simply omitted if all values are zero. – John M Wolfson (talk • contribs) 00:44, 23 April 2022 (UTC)
 * @John M Wolfson, could you fix these errors? &#8213; Qwerfjkl  talk  09:15, 23 April 2022 (UTC)
 * (I've managed to run the bot on most of the articles it can convert without errors. However, the header is harder to match, so it doesn't always get converted. Currently, I'm working on the list at User:Qwerfjkl/UScounties/check - I could run the bot on these pages, and it might almost properly convert them, but there will probably be some error. Instead, I'll check through them manually, and improve the regex.) &#8213; Qwerfjkl  talk  09:26, 23 April 2022 (UTC)

Generates gap
I've noticed that this template (along with the Head/Foot templates) causes an unattractive gap in an article's text, as if there's an extra line break in the source. Is there any way this template can be tweaked to remove the gap? (IMHO, I feel like this template should sit nicely in articles the same way images do.)--Gen. Quon[Talk] 16:40, 15 November 2022 (UTC)
 * I noticed you tweaked this template quite a bit in experimentation; I haven't looked through all your edits, but have you tried clear for PresFoot? Use the testcases subpage to try it out, but it might be what you're after. – John M Wolfson (talk • contribs) 23:59, 15 November 2022 (UTC) (Although, granted, that might do the opposite of what you want. – John M Wolfson (talk • contribs) 00:00, 16 November 2022 (UTC))

Ties without bolding
Is there a way to mark an election as being tied without bolding the "Third party" section? For example, in the 1992 election in Ware County, Georgia, both Bush and Clinton received the same amount of votes; the year is accurately colored as purple (as the "winner" section reads "Tie"), but only the third party percentage is bolded (suggesting Perot won the county that year). Is there any way to get around or remove the bolding? Thanks! - Chaidantalk 00:08, 28 December 2023 (UTC)

text-align
Since you seem to be the most active editor on this template, there seems to be an error with the formatting (text-alignment). The template seems to include "text-align:center" for all cells, but that only seems to be getting expressed on the "other party" cells. All the Dem and Rep cells seem to be expressing default (left) alignment. Personally, I think all of these cells should be right-aligned because they're numbers, but at the very least I think all these cells should have identical alignment. -- Asdasdasdff (talk) 18:17, 25 May 2024 (UTC)