సహాయం:Convert messages
ఈ పేజీ, వికీపీడియా లోని ఒక విశేషం గురించీ దాన్ని అమలు చేసే విధానం గురించీ వివరించే ఎలా చెయ్యాలి అనే మార్గసూచిక లోని భాగం. |
This page describes the error and warning messages reported by Module:Convert if a problem is detected while using {{convert}} to convert a value from one unit of measurement to another.
- Help:Convert • Overview
- Help:Convert units • Simplified list of some commonly used units
Asking questions
[మార్చు]If a problem cannot readily be resolved, please report it at one of the following.
- Template talk:Convert • Questions on using the convert template, or discussion of any problems encountered
- Wikipedia:Help desk • General questions
- Module talk:Convert • Discussion concerning the convert modules
Error and warning messages
[మార్చు]Needs a number
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|123|m|ft}}
→ 123 మీటర్లు (404 అ.){{convert||m|ft}}
→ [convert: needs a number]
An input number is required. In the first example above, the input number is 123
.
Pages with this error are automatically placed in Category:Convert errors.[b]
Needs another number
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|10|x|20|m|ft}}
→ 10 by 20 మీటర్లు (33 అ. × 66 అ.){{convert|10|x| |m|ft}}
→ [convert: needs another number]{{convert|10|x|20|x| |m|ft}}
→ [convert: needs another number]
The first input number was specified, but the range used requires another number.
Pages with this error are automatically placed in Category:Convert errors.[b]
Invalid number
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|1|km|ft}}
→ 1 కిలోమీటరు (3,300 అ.){{convert|km|ft}}
→ [convert: invalid number]
A number to be converted can be entered as in these examples: 1.23
or 1,234
or -0.9
.
Fractions are entered as in these examples: 1+2/3
(1 ⅔) or -1-2/3
(−1 ⅔) or 2/3
(⅔).
Pages with this error are automatically placed in Category:Convert errors.[b]
Number overflow
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|1e290|m|ft}}
→ 1×10290 మీటర్లు (3.3×10290 అ.){{convert|1e310|m|ft}}
→ [convert: number overflow]
This error occurs if a number exceeds the range of values available for calculations. The number 1e290 means 1×10290.
Pages with this error are automatically placed in Category:Convert errors.[b]
Invalid precision
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|21455|acre|ha|2}}
→ 21,455 ఎకరాలు (8,682.53 హె.){{convert|21455|acre|ha|-2}}
→ 21,455 ఎకరాలు (8,700 హె.){{convert|21455|acre|ha|2.5}}
→ 21,455 ఎకరాలు (8,683 హె.)[convert: invalid precision]
A precision value is entered after the conversion information. For example, |2
gives a result that is rounded to two decimal places, while |-2
rounds to the nearest 100 so that two zeroes occur at the end of the number. This message will only appear if warnings have been enabled.
Pages with this error are automatically placed in Category:Convert errors.[b]
Precision too large
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|123|m|ft|2}}
→ 123 మీటర్లు (403.54 అ.){{convert|123|m|ft|200}}
→ [convert: precision too large]
Generally there is no reason to use a precision of more than a few decimal places, however, larger values may be used. The error shown occurs if the requested precision is higher than the maximum supported by the server.
A negative precision rounds to the nearest 10 (parameter |-1
), or nearest 100 (|-2
), or nearest 1000 (|-3
), etc. A large negative precision produces a zero output.
{{convert|123|m|ft|-2}}
→ 123 మీటర్లు (400 అ.){{convert|123|m|ft|-200}}
→ 123 మీటర్లు (0 అ.)
Using a very small input value can cause the default precision to exceed the limit (1.234e-200
is 1.234×10−200). For such very small values, it is better to use the |sigfig=
option.
{{convert|1.234|m|ft}}
→ 1.234 మీటర్లు (4.05 అ.){{convert|1.234e-200|m|ft}}
→ [convert: precision too large]{{convert|1.234e-200|m|ft|sigfig=3}}
→ 1.234×10−200 మీటర్లు (4.05×10−200 అ.)
Pages with this error are automatically placed in Category:Convert errors.[b]
Invalid fraction
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|12.31|m|ftin|frac=8}}
→ 12.31 మీటర్లు (40 అ. 4+5⁄8 అం.){{convert|12.31|m|ftin|frac=1}}
→ 12.31 మీటర్లు (40 అ. 5 అం.)*{{convert/warning|12.31|m|ftin|frac=on}}
→ 12.31 మీటర్లు (40 అ. 5 అం.)[convert: invalid fraction]
A fraction denominator can be specified to display results with a fraction where appropriate. For example, |frac=8
specifies that the value should be rounded to the nearest eighth, and that a fraction should be included if necessary. A fraction denominator must be a whole number with value 2 or more. This message will only appear if warnings have been enabled.
Pages with this error are automatically placed in Category:Convert errors.[b]
Invalid sigfig
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|1234|ft|m|sigfig=2}}
→ 1,234 అడుగులు (380 మీ.){{convert|1234|ft|m|sigfig=0}}
→ 1,234 అడుగులు (376 మీ.)[convert: invalid sigfig]{{convert|1234|ft|m|sigfig=2.5}}
→ 1,234 అడుగులు (376 మీ.)[convert: invalid sigfig]
The number of significant figures in the result can be specified. For example, |sigfig=2
requests two significant figures. The number of significant figures must be a whole number with value 1 or more. This message will only appear if warnings have been enabled.
Pages with this error are automatically placed in Category:Convert errors.[b]
Deprecated option
[మార్చు]Questions? See above. |
Mouseover the asterisk after the convert result to see further information.[a]
{{convert|123|m|ft|sortable=on}}
→ 123 మీటర్లు (404 అ.){{convert|123|m|ft|sortable=out}}
→ 123 metres (404 ft)*
The option |sortable=on
outputs a hidden sort key for use in a sortable table. The option |sortable=out
is now the same as |sortable=on
, and the latter should be used. See deprecated options for information regarding which options should be used to replace those that are being phased out.
Pages with this error are automatically placed in Category:Convert errors.[b]
Empty option
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|123|m|ft|sp=us}}
→ 123 మీటర్లు (404 అ.){{convert|123|m|ft|sp=}}
→ 123 మీటర్లు (404 అ.)[convert: empty option]
The option |sp=us
specifies that US spelling should be used ("meters" instead of "metres"). However, |sp=
has no effect as no value is specified. This message will only appear if all warnings have been enabled.
Pages with this error are automatically placed in Category:Convert errors.[b]
Invalid option
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|123|m|ft|abbr=off}}
→ 123 మీటర్లు (404 అడుగులు){{convert|123|m|ft|abr=off}}
→ 123 మీటర్లు (404 అ.)[convert: invalid option]
The option |abbr=off
specifies that abbreviations are off, that is, unit names will be used instead of symbols. By contrast, |abr=off
is ignored because "abr" is not the name of an option. This message will only appear if warnings have been enabled.
Pages with this error are automatically placed in Category:Convert errors.[b]
Needs unit name
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|12|ft}}
→ 12 అడుగులు (3.7 మీ.){{convert|12}}
→ 12[convert: needs unit name]{{convert|12||ft}}
→ 12[convert: needs unit name]{{convert|12|x|20|ft}}
→ 12 by 20 అడుగులు (3.7 మీ. × 6.1 మీ.){{convert|12|x|20}}
→ 12 by 20[convert: needs unit name]
A unit code must be specified following the input number or numbers.
Pages with this error are automatically placed in Category:Convert errors.[b]
Unknown unit
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|12|ft|mi}}
→ 12 అడుగులు (0.0023 మై.){{convert|12|Ft|mi}}
→ 12 Ft[convert: unknown unit]{{convert|12|ft|m i}}
→ 12 అడుగులు ([convert: unknown unit])
Each unit code must exactly match a known unit, case sensitive. A simplified list of unit codes is at Help:Convert units, and all available unit codes are here.
Pages with this error are automatically placed in Category:Convert errors.[b]
Unit mismatch
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|123|psi|Pa}}
→ 123 pounds per square inch (850,000 Pa){{convert|123|psi|ha}}
→ 123 pounds per square inch ([convert: unit mismatch])
It is only possible to convert between units that have the same type. For example, psi
and Pa
are each of type "pressure" so a psi
value can be converted to Pa
. However, a psi
value cannot be converted to a unit of a different type, such as ha
(hectare) which has type "area".
Pages with this error are automatically placed in Category:Convert errors.[b]
Ambiguous unit
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|21|mpgus|L/km}}
→ 21 మైళ్లు per US gallon (0.11 L/కి.మీ.){{convert|21|mpg|L/km}}
→ 21 mpg[convert: ambiguous unit]{{convert|21|USpt|L}}
→ 21 US pints (9.9 L){{convert|21|pt|L}}
→ 21 pt[convert: ambiguous unit]
Some unit codes are not supported; using them results in an message indicating that a different unit code should be chosen.
Pages with this error are automatically placed in Category:Convert errors.[b]
Unit invalid here
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|123|K|C F}}
→ 123 K (−150 °C; −238 °F){{convert|123|C F|K}}
→ 123 C F[convert: unknown unit]{{convert|12345|ft|mi km}}
→ 12,345 అడుగులు (2.3381 మై.; 3.763 కి.మీ.){{convert|12345|ft|yd+mi+km}}
→ 12,345 అడుగులు (4,115 yd; 2.3381 మై.; 3.763 కి.మీ.){{convert|12345|ft|yd+mi km}}
→ 12,345 అడుగులు ([convert: unknown unit])
Some units can only be used as outputs. For example "C F
" displays a temperature in Celsius and Fahrenheit. Such a unit cannot be used with an input value, because, for example, there is no such temperature as "123 C F
". Some output combinations are predefined—"C F
" is one example, and "mi km
" (miles and kilometres) is another. It is also possible to construct an output combination by joining unit codes with "+
". However, individual units have to be specified, and an output combination cannot be used.
Pages with this error are automatically placed in Category:Convert errors.[b]
Wikidata problem
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|input=P123}}
→ [convert: wikidata problem]
An unexpected error occurred while attempting to use the Wikidata modules to read property or item information. This error should not occur; the above is a simulation of what would be displayed if, for example, the Wikidata modules were not available, or if they contained an error.
Pages with this error are automatically placed in Category:Convert errors.[b]
Invalid input
[మార్చు]Questions? See above. |
Mouseover the message to see further information.[a]
{{convert|input=whatever}}
→ [convert: invalid input]
Convert is configured to display any input text without error if a conversion fails, so this error should not occur. The above is a simulation of what would be displayed if convert were configured to show problems when a conversion was not possible.
The following examples use the input
parameter. The unit mV
is known to convert, but since no useful conversion is possible, there is no output. There is no boxes
unit, so the input is displayed as given. The final example follows the same rule because P123.
is not a valid property identifier.
{{convert|input=12 mV}}
→ 12 మిల్లీvolts{{convert|input=12 mV|abbr=on}}
→ 12 mV{{convert|input=12 boxes}}
→ 12 boxes{{convert|input=P123.}}
→ P123.
Pages with this error are automatically placed in Category:Convert errors.[b]
Notes
[మార్చు]- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 If the mouse pointer is positioned over the convert message (mouseover), extra information will appear in a popup window.
- ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 A category is only included if the page is an article (a page in the main namespace).