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 444 total.
(previous page) (next page)8
A
- Template:Administrators/Removal
- Meta:Administrators/Removal (inactivity)/Template
- User:Aohycent
- 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
- User:Arcuscloud
- 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
C
- Template:CAD
- 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:Community Wishlist/Focus area/Full
- Template:Community Wishlist/Focus area/Full/de
- Template:Community Wishlist/Focus area/Full/en
- Template:Community Wishlist/Focus area/Full/ja
- Template:Community Wishlist/Focus area/Full/ms
- Template:Community Wishlist/Focus area/Full/nb
- Template:Community Wishlist/Focus area/Full/pl
- Template:Community Wishlist/Focus area/Full/zh
- Template:User contrib CentralAuth
- Creating Content on Yoruba Monarchs on Yoruba Wikipedia
- Template:Csn
- Template:Csn demo
L
N
P
S
- User:Saederup92
- User:Sandesh9822
- User:Sbb1413
- User:SGrabarczuk (WMF)/sandbox/6
- Template:Significant figures
- Template:Significant figures/rnd
- User:SimmeD/box
- Slave Trade and its Abolition Yoruba Translation a-thon
- Stewards/CheckUser statistics for loginwiki/2020
- Stewards/CheckUser statistics for loginwiki/2021
- Stewards/CheckUser statistics for loginwiki/2023
- User:Suyash.dwivedi
T
- Template:Tech news text
- Template:Tech news text/ar
- Template:Tech news text/az
- Template:Tech news text/bn
- Template:Tech news text/cs
- Template:Tech news text/de
- Template:Tech news text/dtp
- Template:Tech news text/en
- Template:Tech news text/eo
- Template:Tech news text/es
- Template:Tech news text/fa
- Template:Tech news text/fi
- Template:Tech news text/fr
- Template:Tech news text/gpe
- Template:Tech news text/ha
- Template:Tech news text/he
- Template:Tech news text/hi
- Template:Tech news text/hu
- Template:Tech news text/id
- Template:Tech news text/ig
- Template:Tech news text/it
- Template:Tech news text/ja
- Template:Tech news text/kn
- Template:Tech news text/ko
- Template:Tech news text/ms
- Template:Tech news text/nan
- Template:Tech news text/nb
- Template:Tech news text/nl
- Template:Tech news text/pa
- Template:Tech news text/pl
- Template:Tech news text/pt
- Template:Tech news text/pt-br
- Template:Tech news text/ru
- Template:Tech news text/sv
- Template:Tech news text/th
- Template:Tech news text/tr
- Template:Tech news text/uk
- Template:Tech news text/vi
- Template:Tech news text/yue
- Template:Tech news text/zh
- Talk:Tech/News/2020/45
- Tech/News/2025/04
- Tech/News/init
- Tech/News/init/ar
- Tech/News/init/ast
- Tech/News/init/cs
- Tech/News/init/en
- Tech/News/init/es
- Tech/News/init/fa
- Tech/News/init/fr
- Tech/News/init/id
- Tech/News/init/ja
- Tech/News/init/ko
- Tech/News/init/lb
- Tech/News/init/oc
- Tech/News/init/pl
- Tech/News/init/pt-br
- Tech/News/init/ru
- Tech/News/init/tr
- Tech/News/init/uk
- Tech/News/init/zh
- Template:Thời sự/*
- Template:TOWArchiveItem/bn
- Translation of the week/bn
- Template:Türklirası
W
- Wikicite/grant/Balinese WikiLontar/Report
- Wikicite/grant/Balinese WikiLontar/Report/en
- Wikicite/grant/Balinese WikiLontar/Report/ko
- Wikicite/grant/Balinese WikiLontar/Report/nan
- WikiIndaba 2023/Microfunding/Kiwix Wikimedians User Group
- WikiIndaba 2023/Microfunding/Wiki club Goma
- Template:Wikimania 2012/Bids/İstanbul/Turkish lira
- Wikimedia Armenia Extraordinary General Assembly/Results
- Wikimedia Foundation Annual Plan/2016-2017/draft
- Wikimedia Foundation Annual Plan/2016-2017/draft/en
- Wikimedia Foundation Annual Plan/2016-2017/draft/es
- Wikimedia Foundation Annual Plan/2016-2017/draft/fa
- Wikimedia Foundation Annual Plan/2016-2017/draft/pt
- Wikimedia Foundation Annual Plan/2016-2017/draft/th
- Wikimedia Foundation Annual Plan/2016-2017/draft/yue
- Wikimedia Foundation Annual Plan/2016-2017/draft/zh
- Wikimedia Foundation Annual Plan/2016-2017/Final
- Wikimedia Foundation Annual Plan/2016-2017/Final/cs
- Wikimedia Foundation Annual Plan/2016-2017/Final/da
- Wikimedia Foundation Annual Plan/2016-2017/Final/de
- Wikimedia Foundation Annual Plan/2016-2017/Final/en
- Wikimedia Foundation Annual Plan/2016-2017/Final/es
- Wikimedia Foundation Annual Plan/2016-2017/Final/ja
- Wikimedia Foundation Annual Plan/2016-2017/Final/ml
- Wikimedia Foundation Annual Plan/2016-2017/Final/th
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/cs
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/da
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/en
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/es
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/it
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/ja
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/ml
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/pt-br
- Wikimedia Foundation Annual Plan/2016-2017/Mid-year check-in/zh