Category:Pages with non-numeric formatnum arguments
Jump to navigation
Jump to search
TemplateStyles' src attribute must not be empty.
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 tracking category. It builds and maintains a list of pages primarily for the sake of the list itself. They are not part of the encyclopedia's categorization scheme.
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 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
formatnumis 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 exist 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}}millioninstead 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
formatnumis 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 withinformatnumto 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 approximately 510 total. This list may not reflect recent changes (learn more).
(previous page) (next page)A
- Aargau
- Hank Aaron
- Abadan, Iran
- Aberdeen
- Aberdeen, South Dakota
- Aberdeenshire
- Academy Awards
- Activision
- Aden
- Advertising
- Albuquerque, New Mexico
- Albury–Wodonga
- Alexandria, Indiana
- Alexandria, Louisiana
- Allegany County, Maryland
- American Civil Liberties Union
- Ames, Iowa
- Amiga
- Amman
- Angus, Scotland
- Anime
- Ann Arbor, Michigan
- Annapolis Valley
- Anne Arundel County, Maryland
- Apple II (original)
- Aragon
- Arcade video game
- Template:Archive request
- Louis Armstrong
- Asteroids (video game)
- Atari 2600
- Atari Jaguar
- Atlanta
- Clement Attlee
- Austin, Texas
- Dan Aykroyd
- Azad Kashmir
B
- Babylon 5
- Amitabh Bachchan
- Baghdad
- Bakassi
- Baltimore County, Maryland
- Barbados
- Basel-Landschaft
- Beaumont, Texas
- David Beckham
- Beirut
- Belfast
- Bell Labs
- Alexander Graham Bell
- Bellingham, Washington
- Yogi Berra
- Bethlehem
- Bhopal
- Białystok
- Big Four accounting firms
- The Birth of a Nation
- Bitola
- Blizzard Entertainment
- Boeing 747
- Boeing AH-64 Apache
- Humphrey Bogart
- Boise, Idaho
- Barry Bonds
- Bookends (album)
- Borland
- Brasília
- Brighton
- Bristol
- The Bronx
- Brooklyn
- Brooklyn Bridge
- Ford Madox Brown
- Bucharest
- Budapest
- Buffalo, New York
- William S. Burroughs
- Business school
- Jane Byrne
C
- Cairo
- Calvert County, Maryland
- Cambridge
- Cambridge, Massachusetts
- Canadian Pacific Railway
- Capcom
- Cardiff
- Carson City, Nevada
- Fidel Castro
- Central Asia
- Central City, Colorado
- Neville Chamberlain
- Chennai
- Chernobyl
- Chicago
- Chrysler
- Cinema of China
- Citizen Kane
- City of London
- Tom Clancy
- Clark County, Nevada
- Cleburne, Texas
- Roberto Clemente
- Cleveland
- Coal
- Kurt Cobain
- Colorado City, Texas
- Colorado Springs, Colorado
- Columbia, Missouri
- Columbus, Ohio
- Comic book
- Commodore International
- Compaq
- Gary Cooper
- Corvallis, Oregon
- Cripple Creek, Colorado
- Bing Crosby
- Tom Cruise
D
- Danish West Indies
- Data General Nova
- Davenport, Iowa
- Dayton, Ohio
- Debian
- Deep Space 1
- Delft
- Delhi
- Demographics of Finland
- Demographics of New Zealand
- Denver
- Des Moines, Iowa
- Detroit
- Charles Dickens
- Dimona
- Walt Disney
- Benjamin Disraeli
- Dodge
- Doom (1993 video game)
- Doraemon
- Dordogne
- Dreamcast
- Dublin
- Dundee
- Dungeons & Dragons
- Kirsten Dunst
- Dąbrowa Górnicza
E
F
- Fairmount, Indiana
- Father of the House
- Wikipedia:Featured articles
- Fighting game
- Final Fantasy: The Spirits Within
- Flanders
- Flores
- Henry Ford
- Foreign relations of Pakistan
- Forney, Texas
- Forrest Gump
- Fort Collins, Colorado
- Fort Wayne, Indiana
- Wikipedia:Four Award
- Frederick County, Maryland
- Frederick, Maryland
- Friesland
G
- Clark Gable
- Galileo project
- Game Gear
- Garrett County, Maryland
- Gdańsk
- Gdynia
- Gene therapy
- General Dynamics F-16 Fighting Falcon
- George IV
- Gettysburg Address
- Gilbert Plains
- Godzilla (1954 film)
- Godzilla vs. Megalon
- Gold standard
- The Good, the Bad and the Ugly
- Ulysses S. Grant
- The Great Ziegfeld
- Hank Greenberg
- Greenland
- Groningen
- Groningen (province)