Jump to content

Template:Convert mu/doc

From Wikipedia, the free encyclopedia

Built to mimic the parameters and appearance of {{Convert}}, this template converts traditional Chinese land area measure "mu" (亩, a.k.a, "Chinese acres") into hectares.

Usage

[edit]

{{convert mu|number|mu|ha}}
{{convert mu|number|mu|ha|abbr=on|sf=3}}

Parameters

[edit]

There are three required positional parameters, and three optional named parameters:

|1= – the number of mu to be converted to hectares. Required; must be numeric. (See § Notes.)
|2= – the 'from' denomination; mimics {{Convert}} param 2; must equal mu or e6mu or there is no conversion output. Required.
  • The setting |2=e6mu is permitted, but has no effect; it is there for documentary reasons to parallel param 3.
|3= – the 'to' denomination; mimics {{Convert}} param 3; must equal ha or e6ha or there is no conversion output. Required.
  • If |3=e6ha, then the scientific notation suffix  ×106 is emitted between the value and the units.
|abbr= – Optional; default: the term 'hectares' is emitted. Possible values to override the default:
  • set |abbr=on to emit 'ha' as the abbreviated unit.
  • set |abbr=values to drop the unit and emit only the numeric value.
|lk=in – links the 'mu' denomination to [[Mu (land)|mu]]mu.
|sf= – you may specify the number of significant figures in the converted output value. Optional; default: same number of significant figures as in the input value (param 1).

Examples

[edit]
  • {{convert mu|467|mu|ha}} → 467 mu (31.1 hectares)
  • {{convert mu|467|mu|ha|lk=in}} → 467 mu (31.1 hectares)
  • {{convert mu|234,567|mu|ha|sf=4|abbr=on}} → 234,567 mu (15,640 ha)
  • {{convert mu|234,567|mu|ha|sf=4|abbr=values}} → 234,567 mu (15,640)
  • {{convert mu|467|mu|acres}} → 467 mu     (Invalid param 3; no conversion output.)
  • {{convert mu|23.25|mu|e6ha}} → 23.25 mu (1.550 ×106 hectares)
  • {{convert mu|23.25|e6mu|e6ha}} → 23.25 mu (1.550 ×106 hectares)    (Same as above; e6mu has no effect here but is kept for documentary purposes.)

Notes

[edit]

The land area measure known as mu (亩) is used primarily in China. In Hong Kong and Macau, the area is slightly larger, while in Taiwan and Japan it is much smaller. This template converts the Chinese mu, at the rate of 15 mu per hectare.

Try this Cirrus search (or this one) to find articles that may need conversion for mu units.

See also

[edit]