ವಿಷಯಕ್ಕೆ ಹೋಗು

ಮಾಡ್ಯೂಲ್:Convert/extra/doc

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ

This is the documentation page for ಮಾಡ್ಯೂಲ್:Convert/extra

This module can be used to quickly add a new unit for use with {{Convert}}. When satisfied that a unit is working correctly, ask at Module talk:Convert for the unit to be moved to the permanent list of units.

See Template:Convert/unit sandbox for a good way to prepare unit definitions that can be copied into this page.

The following extracts from Module:Convert/data show examples that could be used to define a new unit. Any number of spaces can be used where blanks are shown in the following.

FieldDescription
symbolUnit identifier used when abbr=on is in effect.
name1Singular name of the unit used when abbr=off is in effect.
name2Plural name of the unit; not required if it is the same as name1 plus "s".
name1_usSingular name when sp=us is in effect; not required if the same as name1.
name2_usPlural name when sp=us is in effect; not required if the same as name1_us plus "s".
utypeUnit type; must be exactly the same as the utype of any other unit used in a conversion.
scaleNumber of base units in the unit being defined.
defaultUnit code of the default output used when no output unit is specified in a conversion.
targetUnit code of an existing unit (the unit being defined "redirects" to the existing unit).
prefixesUse 1 if an SI prefix is accepted; 2 is used for m2, and 3 is used for m3.
linkArticle title used when lk=on is in effect; not required if it is the same as name1.