Category:Pages with non-numeric formatnum arguments
![]() | Administrators: Please do not delete this category even if it is empty! This category may be empty occasionally or even most of the time. |
![]() | This is a maintenance category, used for maintenance of the Wikipedia project. It is not part of the encyclopedia and contains non-article pages, or groups articles by status rather than subject. Do not include this category in content categories.
This is a hidden category. It is not shown on its member pages, unless the corresponding user preference (appearance → show hidden categories) is set. |
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 en: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
Other:
- When
formatnum
is given a negative number written with the proper U+2212 "minus sign" (instead of the commonly used hyphen-minus key that appears on most keyboards), e.g.{{formatnum:−9000000}}
, it assigns this error category; see T237467. A workaround for this incorrect usage was applied to {{US Census population}}, which shows population declines as negative numbers. You should use hyphen-minus withinformatnum
to avoid this error category and it will output the proper minus sign (see T10327).
Pages in category "Pages with non-numeric formatnum arguments"
The following 200 pages are in this category, out of 1,422 total.
(previous page) (next page)0–9
A
- User:A450m10240a
- Template:Aao
- Template:Aaonoequals
- Aashiqui 2
- Abadeh
- Abaetetuba
- Abidjan
- Abuja
- Acklins and Crooked Islands
- Addition
- Ajmer district
- Alapayevsk
- Alavus
- Albany, Georgia
- Albert County, New Brunswick
- Alberta
- Albertville, Quebec
- Albuquerque, New Mexico
- Algarve
- Alibaba Group
- Aligarh
- Alikovsky District
- All Nippon Airways
- Allstate
- Almaty
- Altai Republic
- Amazon (company)
- User:American Eagle/Count
- Americana (The Offspring album)
- Ames, Iowa
- Amherst, Nova Scotia
- Amsterdam
- Amur Oblast
- Anchorage, Alaska
- Andersonville Seminary
- Andhra Pradesh
- User:Android 2113853211/UBX/Edit Count
- Anniston, Alabama
- Anyang, Gyeonggi
- Appetite for Destruction
- Apple Inc.
- Ar-Raqqah
- Aragon
- ArcelorMittal
- Arizona
- Arkansas
- Arkhangelsk Oblast
- Arlington, Washington
- Armavir, Russia
- Arsanjan
- Asir, Iran
- Astrakhan Oblast
- Atlanta
- Atlanta metropolitan area
- Atlantique Department
- Atlas V
- Auburn Hills, Michigan
- Auburndale, Florida
- Aust-Agder
- Austin, Texas
- Avilla, Arkansas
- Axel Heiberg Island
B
- Baadshah (1999 movie)
- Baaghi (2016 movie)
- Baaghi 2
- Babahoyo
- Babergh
- Bacchus Marsh
- Bachhan Paandey
- Badalwas
- Badhaai Ho
- Bærum
- Bagan
- Baja California (state)
- Baja California Sur
- Bakrani
- Baku
- Baladeh, Fars
- Balaji Telefilms
- Balakovo
- Balashikha
- Baltimore
- Banaruiyeh
- Banda Aceh
- Bandhan Bank
- Bandung
- Bangkok
- Bangor, California
- Bank of America Plaza (Dallas)
- Bank of Maharashtra
- Banteay Meanchey province
- Baotou
- Template:Bar chart
- Template:Bar chart/doc
- Template:Bar graph
- Template:Bar graph/doc
- Barahona, Dominican Republic
- Bareilly
- Barfi!
- Barkerville, British Columbia
- Barranquilla
- User:Barras/Count
- Barrie
- Barrington, Rhode Island
- Baton Rouge metropolitan area
- Baton Rouge, Louisiana
- Battambang province
- Battle Royale (movie)
- Battle royale game
- Beacon, New York
- Beijing
- Beirut
- Beit She'an
- Belgorod Oblast
- Belgrade
- Believer (Imagine Dragons song)
- Bellary
- Bellevue, Washington
- Benghazi
- Benque Viejo del Carmen
- Bergen County, New Jersey
- Berry Creek, California
- Bethel, Alaska
- Bettendorf, Iowa
- Beverly Hills, Michigan
- Beyram, Iran
- Beyza
- BHP Billiton
- Białystok
- Bihar
- Bilice, Kotor Varoš
- Bill Gates
- Billund
- Biloxi, Mississippi
- Biratnagar
- Birmingham
- Bismarck, North Dakota
- Biysk
- Blagoyevo
- Blaine, Minnesota
- Bloomfield Hills, Michigan
- User:Bluerasberry/city profile
- Bohol (island)
- Bohol (province)
- Bonadelle Ranchos-Madera Ranchos, California
- Bong Go
- Borbaad
- Bordeaux
- Borgou Department
- Boston
- Boulder, Colorado
- Brantford, Ontario
- Brasília
- Bratsk
- Brattleboro, Vermont
- Break Up with Your Girlfriend, I'm Bored
- User:Brenont
- Bret Harte, California
- Brian Acton
- Bridgeport, California
- Bridgeport, Connecticut
- Brighton, Michigan
- Bristol
- British Columbia
- Broken Arrow, Oklahoma
- Brookhaven, Georgia
- Brooklyn
- Brooklyn Park, Minnesota
- Brownsville, Texas
- Broye-Vully (district)
- Brumado
- Bryansk
- Bryansk Oblast
- Bucharest
- Bucheon
- Budapest
- Budaun
- Buin-e Sofla
- Burbank, California
- Burlington, Iowa
- Burlington, Ontario
- Burnaby
- Busan
- Butte Creek Canyon, California
- Butte Meadows, California
- Buzuluk, Orenburg Oblast