Category:Pages with non-numeric formatnum arguments
Jump to navigation
Jump to search
TemplateStyles' src attribute must not be empty.
| File:Information icon4.svg | 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 965 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
- Achziv
- Activision
- Aden
- Advertising
- Aetna
- Aguadilla, Puerto Rico
- Ain
- Aisne
- Alameda County, California
- Álava
- Albuquerque, New Mexico
- Albury–Wodonga
- Alcalá de Henares
- Alexandria, Indiana
- Alexandria, Louisiana
- Allegany County, Maryland
- Allier
- Alpes-Maritimes
- Alpine County, California
- Amador County, California
- Ameland
- American Civil Liberties Union
- Ames, Iowa
- Amiga
- Amman
- Amposta
- Angus, Scotland
- Anime
- Ann Arbor, Michigan
- Annapolis Valley
- Anne Arundel County, Maryland
- Apeldoorn
- Apple II (original)
- Apple Lisa
- Aragon
- Roscoe Arbuckle
- Arcade video game
- Template:Archive request
- Ardèche
- Ardennes (department)
- Ariège (department)
- Louis Armstrong
- H. H. Asquith
- Assen
- Asteroids (video game)
- Astorga, Spain
- Atari 2600
- Atari Jaguar
- Atlanta
- Clement Attlee
- Aube
- Aude
- Austin, Texas
- Aveyron
- Dan Aykroyd
- Azad Kashmir
B
- Babylon 5
- Amitabh Bachchan
- Baghdad
- Bakassi
- Balaguer
- Baltimore County, Maryland
- Barbados
- Barnstable County, Massachusetts
- Baronet
- Bas-Rhin
- Basel-Landschaft
- Bayamón, Puerto Rico
- Beaumont, Texas
- David Beckham
- Beirut
- Belfast
- Bell Labs
- Alexander Graham Bell
- Bellingham, Washington
- Belo Horizonte
- Benabarre
- Berkeley County, West Virginia
- Berkshire County, Massachusetts
- Yogi Berra
- Bethlehem
- Beverly Hills, California
- Bhopal
- Białystok
- Bielsko-Biała
- Big Four accounting firms
- Birmingham, Alabama
- The Birth of a Nation
- Bitola
- Blizzard Entertainment
- Boeing 747
- Boeing AH-64 Apache
- Humphrey Bogart
- Boise, Idaho
- Barry Bonds
- Bookends (album)
- Borland
- Bouches-du-Rhône
- Boulder, Colorado
- Brasília
- Brighton
- Brighton and Hove
- Bristol
- Bristol County, Massachusetts
- Bristol County, Rhode Island
- Bristol, Virginia
- The Bronx
- Brooklyn
- Brooklyn Bridge
- Broward County, Florida
- Ford Madox Brown
- Bucharest
- Budapest
- Buena Vista, Virginia
- Buffalo, New York
- Burgas
- Burlington, Vermont
- William S. Burroughs
- Busan
- Nolan Bushnell
- Business school
- Butte County, California
- Bydgoszcz
- Jane Byrne
- Bytom
C
- Caguas, Puerto Rico
- Cairo
- Calaveras County, California
- Marin County, California
- Calvert County, Maryland
- Cambridge
- Cambridge, Massachusetts
- Canadian Pacific Railway
- Cantabria
- Cantal
- Capcom
- Cardiff
- Carson City, Nevada
- Casper, Wyoming
- Castellón de la Plana
- The Castle of Cagliostro
- Fidel Castro
- Cayey, Puerto Rico
- Central Asia
- Central City, Colorado
- Cervera
- Neville Chamberlain
- Champaign County, Illinois
- Charente
- Charlottesville, Virginia
- Chennai
- Cher (department)
- Chernobyl
- Cherokee County, Georgia
- Chesapeake, Virginia
- Chicago
- Chorzów
- Chrysler
- Cinema of China
- Cinema of New Zealand
- Citizen Kane
- Citizens band radio
- City of London
- Ciudad Juárez
- Tom Clancy
- Clark County, Nevada
- Cleburne, Texas
- Roberto Clemente
- Cleveland
- Clifton Suspension Bridge
- Coal
- Kurt Cobain
- Colonial Heights, Virginia
- Colorado City, Texas
- Colorado Springs, Colorado
- Columbia, Missouri
- Columbus, Ohio
- Colusa County, California
- Comic book
- Commodore International
- Compaq
- Contra Costa County, California
- Cook County, Illinois
- Gary Cooper
- Corrèze
- Corse-du-Sud
- Corvallis, Oregon
- Côte-d'Or
- Côtes-d'Armor
- Covington, Virginia
- Creuse
- Cripple Creek, Colorado