Jump to content

Template talk:Percentage bar

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

Problem with decimals

[edit]

Hello,

There seems to be a significant display problem with the percentage bar template when adding values after the decimal point as in, for example, '10.6'. The error can be further seen in a table at the bottom of this article. Is there any way to fix this issue? And if so, can someone propose any? Many thanks in advance for any suggestions or solutions.

P.S.: This problem came to my attention today. However, relatively recently (about one week ago), there were no problems at displaying percentage bars containing values after the decimal point in statistical tables on any other similar article.

Rosenborg BK Fan (talk) 23:03, 31 March 2019 (UTC)[reply]

This is likely related to the use of . I didn't think about decimals. I'll have a fix shortly. Headbomb {t · c · p · b} 23:13, 31 March 2019 (UTC)[reply]
@Rosenborg BK Fan: should be fixed now, take a look. Headbomb {t · c · p · b} 23:28, 31 March 2019 (UTC)[reply]

Compatibility with "Party color" template

[edit]

I think this templates needs to be compatible with the "Party color" template. ValenciaThunderbolt (talk) 21:20, 22 February 2023 (UTC)[reply]