Category:Pages with non-numeric formatnum arguments
![]() | Administrators: Please do not delete this category even if it is empty. |
This category collects pages that use the formatnum
parser function with a non-numeric or incorrectly formatted value, e.g. {{formatnum:foo}}
or {{formatnum:12,345}}
.
Ways to fix or work around this error inside template code:
- If
formatnum
is being applied to a string that includes both a number and words, change it to wrap just the number. Example:{{formatnum:{{{var}}} dollars}}
→{{formatnum:{{{var}}}}} dollars
- Another way to work around invalid input is to remove commas from the input like this:
{{formatnum:{{replace|{{{var}}}|,|}}}}
. Note that input using commas as decimal separators, in contravention of MOS:DECIMAL, will cause formatnum to produce invalid values. To fix the problem, use a full stop (period) as a decimal separator. - A limited way to work around invalid input in templates is to use {{digits}}, e.g.
{{formatnum:{{digits|{{{votes}}}}}}}
. This works only for whole numbers and will produce incorrect results for input containing decimal points or other non-numeric characters.
Ways to fix this error in articles:
- When additional text or references exists in a template parameter that expects only numbers, find a way to move the additional text outside the template or into a different parameter. For example:
- Currency templates like {{CAD}} or {{US$}} take only numeric input. Use
{{US$|123}}{{nbsp}}million
instead of{{US$|123 million}}
- The
|population_total=
parameter in {{Infobox settlement}} should have only a number in it. Move any references to|population_footnotes=
, as in this edit.
- Currency templates like {{CAD}} or {{US$}} take only numeric input. Use
False positives:
- When
formatnum
is given a negative number written with the proper U+2212 "minus sign" (instead of the commonly used en:hyphen-minus hyphen-minus key that appears on most keyboards), e.g.{{formatnum:−9000000}}
, it assigns this error category; see task T237467. A workaround for this incorrect usage was applied to {{US Census population}}, which shows population declines as negative numbers. Another workaround, if having this error category on a page bothers you, is to use a en:hyphen-minus hyphen-minus within formatnum to avoid this error category; note that it does not output a proper minus sign; see task T10327.
Pages in category "Pages with non-numeric formatnum arguments"
The following 200 pages are in this category, out of 501 total.
(previous page) (next page)8
A
- Template:Administrators/Removal
- Meta:Administrators/Removal (inactivity)/Template
- Grants:APG/FDC recommendations/2014-2015 round 2
- Grants:APG/FDC recommendations/2014-2015 round 2/ar
- Grants:APG/FDC recommendations/2014-2015 round 2/da
- Grants:APG/FDC recommendations/2014-2015 round 2/en
- Grants:APG/FDC recommendations/2014-2015 round 2/es
- Grants:APG/FDC recommendations/2014-2015 round 2/fr
- Grants:APG/FDC recommendations/2014-2015 round 2/pt-br
- Grants:APG/FDC recommendations/2017-2018 Round 2
- Grants:APG/FDC recommendations/2017-2018 Round 2/ar
- Grants:APG/FDC recommendations/2017-2018 Round 2/da
- Grants:APG/FDC recommendations/2017-2018 Round 2/en
- Grants:APG/FDC recommendations/2017-2018 Round 2/fr
- Grants:APG/FDC recommendations/2017-2018 Round 2/gl
- Grants:APG/FDC recommendations/2017-2018 Round 2/gu
- User:ArkéoTopia
- Template:Artikolnombro de ĉiuj vikipedioj/grafiko/de
- Template:Artikolnombro de ĉiuj vikipedioj/grafiko/en
- Template:Artikolnombro de ĉiuj vikipedioj/grafiko/eo
- Template:Artikolnombro de ĉiuj vikipedioj/grafiko/fr
- Template:Artikolnombro de ĉiuj vikipedioj/grafiko/plej grandaj/en
- Template:Artikolnombro de ĉiuj vikipedioj/grafiko/plej grandaj/eo
- Template:Artikolnombro de ĉiuj vikipedioj/grafiko/plej grandaj/fr
- User:Aviram7
- User:Aviram7/UBX
- User:Aviram7/User edits with percentage
C
- Template:CAD
- User:CapitainAfrika
- User:Caulfield
- MediaWiki:Centralnotice-PPChangeNotice2014-ToUAnnounceText1/bn
- MediaWiki:Centralnotice-PPChangeNotice2014-ToUAnnounceText1/pa
- MediaWiki:Centralnotice-PPChangeNotice2018-PrivacyPolicy2018 TEXTa/as
- MediaWiki:Centralnotice-PPChangeNotice2018-PrivacyPolicy2018 TEXTa/kn
- MediaWiki:Centralnotice-Wikimania2014-ToUAnnounceText1/bn
- MediaWiki:Centralnotice-Wikimania2014-ToUAnnounceText1/pa
- Template:Csn
- Template:Csn demo
L
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/ar
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/arz
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/da
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/en
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/es
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/lb
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/pl
- Learning and Evaluation/Evaluation reports/2013/GLAM content partnerships/tr
- Template:List de Wikipédias por grupo de idiomas/Idiomas
- List of Wikipedias/logarithmic chart
- Liste des Wikipédias/lang
M
N
P
S
- User:Sadko
- User:Sadko/Template:KS
- User:Saederup92
- User:Sandesh9822
- User:Sbb1413
- Template:Sigfig
- Template:Significant figures/rnd
- User:SimmeD/box
- Slave Trade and its Abolition Yoruba Translation a-thon
- Stewards
- Stewards/af
- Stewards/anp
- Stewards/ar
- Stewards/ast
- Stewards/az
- Stewards/bar
- Stewards/be-tarask
- Stewards/bg
- Stewards/blk
- Stewards/bn
- Stewards/ca
- Stewards/CheckUser statistics for loginwiki
- Stewards/CheckUser statistics for loginwiki/2020
- Stewards/CheckUser statistics for loginwiki/2021
- Stewards/ckb
- Stewards/co
- Stewards/cs
- Stewards/da
- Stewards/de
- Stewards/diq
- Stewards/dv
- Stewards/el
- Stewards/en
- Stewards/en-gb
- Stewards/eo
- Stewards/es
- Stewards/et
- Stewards/eu
- Stewards/fa
- Stewards/fi
- Stewards/fr
- Stewards/fy
- Stewards/gsw
- Stewards/gu
- Stewards/he
- Stewards/hi
- Stewards/hr
- Stewards/hsb
- Stewards/hu
- Stewards/hy
- Stewards/id
- Stewards/ig
- Stewards/ilo
- Stewards/it
- Stewards/ja
- Stewards/ka
- Stewards/ko
- Stewards/ks-arab
- Stewards/ksh
- Stewards/ku
- Stewards/ky
- Stewards/lb
- Stewards/lfn
- Stewards/lt
- Stewards/mk
- Stewards/ml
- Stewards/mni
- Stewards/ms
- Stewards/nb
- Stewards/ne
- Stewards/nl
- Stewards/pa
- Stewards/pl
- Stewards/ps
- Stewards/pt
- Stewards/pt-br
- Stewards/ro
- Stewards/ru
- Stewards/sat
- Stewards/scn
- Stewards/sd
- Stewards/sh
- Stewards/sk
- Stewards/sr
- Stewards/su
- Stewards/sv
- Stewards/sw
- Stewards/syl
- Stewards/tcy
- Stewards/tg
- Stewards/th
- Stewards/tk
- Stewards/tl
- Stewards/tok
- Stewards/tr
- Stewards/tum
- Stewards/ug
- Stewards/uk
- Stewards/uz
- Stewards/vi
- Stewards/xmf
- Stewards/yue
- Stewards/zh
- User:Suyash.dwivedi