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 388 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:Sigfig
- 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
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/el
- 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/fr
- Wikimedia Foundation Annual Plan/2016-2017/draft/it
- Wikimedia Foundation Annual Plan/2016-2017/draft/ja
- Wikimedia Foundation Annual Plan/2016-2017/draft/ko
- Wikimedia Foundation Annual Plan/2016-2017/draft/pt
- Wikimedia Foundation Annual Plan/2016-2017/draft/pt-br
- 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
- Wikimedia Foundation Annual Plan/2016-2017/revised
- Wikimedia Foundation Annual Plan/2016-2017/revised/ar
- Wikimedia Foundation Annual Plan/2016-2017/revised/cs
- Wikimedia Foundation Annual Plan/2016-2017/revised/da
- Wikimedia Foundation Annual Plan/2016-2017/revised/el
- Wikimedia Foundation Annual Plan/2016-2017/revised/en
- Wikimedia Foundation Annual Plan/2016-2017/revised/es
- Wikimedia Foundation Annual Plan/2016-2017/revised/is
- Wikimedia Foundation Annual Plan/2016-2017/revised/ja
- Wikimedia Foundation Annual Plan/2016-2017/revised/ko
- Wikimedia Foundation Annual Plan/2016-2017/revised/ml
- Wikimedia Foundation Annual Plan/2016-2017/revised/tr
- Wikimedia Foundation Annual Plan/2016-2017/revised/vi
- Wikimedia Foundation Annual Plan/2016-2017/revised/zh
- Wikimedia Foundation Annual Plan/2017-2018/Final/Community Health
- Wikimedia Foundation Annual Plan/2017-2018/Final/Community Health/da
- Wikimedia Foundation Annual Plan/2017-2018/Final/Community Health/en
- Wikimedia Foundation Annual Plan/2017-2018/Final/Community Health/ja
- Wikimedia Foundation Annual Plan/2017-2018/Final/Community Health/ko
- Wikimedia Foundation Annual Plan/2017-2018/Final/Community Health/ml
- Wikimedia Foundation Annual Plan/2017-2018/Final/Financials
- Wikimedia Foundation Annual Plan/2017-2018/Final/Financials/da
- Wikimedia Foundation Annual Plan/2017-2018/Final/Financials/en
- Wikimedia Foundation Annual Plan/2017-2018/Final/Financials/gl
- Wikimedia Foundation Annual Plan/2017-2018/Final/Financials/ko
- Wikimedia Foundation Annual Plan/2017-2018/Final/Financials/ml
- Wikimedia Foundation Annual Plan/2017-2018/Final/Financials/pt-br
- Wikimedia Foundation Annual Plan/2017-2018/Final/New Readers
- Wikimedia Foundation Annual Plan/2017-2018/Final/New Readers/da
- Wikimedia Foundation Annual Plan/2017-2018/Final/New Readers/en
- Wikimedia Foundation Annual Plan/2017-2018/Final/New Readers/ko
- Wikimedia Foundation Annual Plan/2017-2018/Final/New Readers/ml
- Wikimedia Foundation Annual Plan/2017-2018/Final/Privacy Security and Data Management
- Wikimedia Foundation Annual Plan/2017-2018/Final/Privacy Security and Data Management/da
- Wikimedia Foundation Annual Plan/2017-2018/Final/Privacy Security and Data Management/en
- Wikimedia Foundation Annual Plan/2017-2018/Final/Privacy Security and Data Management/ko
- Wikimedia Foundation Annual Plan/2017-2018/Final/Privacy Security and Data Management/ml
- Wikimedia Foundation Annual Plan/2017-2018/Final/SinglePage
- Wikimedia Foundation Annual Plan/2017-2018/Final/Structured Data
- Wikimedia Foundation Annual Plan/2017-2018/Final/Structured Data/da
- Wikimedia Foundation Annual Plan/2017-2018/Final/Structured Data/en
- Wikimedia Foundation Annual Plan/2017-2018/Final/Structured Data/ko
- Wikimedia Foundation Annual Plan/2017-2018/Final/Structured Data/ml
- Wikimedia Foundation Annual Plan/2017-2018/Mid-year review
- Wikimedia Foundation Annual Plan/2017-2018/Mid-year review/en
- Wikimedia Foundation Annual Plan/2017-2018/Mid-year review/ko
- Wikimedia Foundation Annual Plan/2018-2019/Final
- Wikimedia Foundation Annual Plan/2018-2019/Final/en
- Wikimedia Foundation Annual Plan/2018-2019/Final/es
- Wikimedia Foundation Annual Plan/2018-2019/Final/ja
- Wikimedia Foundation Annual Plan/2018-2019/Final/ko
- Wikimedia Foundation Annual Plan/2018-2019/Final/uk
- Wikimedia Foundation Annual Plan/2018-2019/Final/zh
- Wikimedia Foundation Annual Plan/2023-2024/Collaboration
- Wikimedia Foundation Annual Plan/2023-2024/Collaboration/ar
- Wikimedia Foundation Annual Plan/2023-2024/Collaboration/bn