Jump to content

Template:Mi2/doc

From Wikipedia, the free encyclopedia

This template shows square miles only.

Conversion to square miles via {{cvt}} or {{convert}} is strongly suggested by WP:UNITS. Eg:

  • {{cvt|100|mi2|0}} → 100 sq mi (259 km2)
  • {{cvt|100|mi2|round=5}} → 100 sq mi (260 km2)

Usage

[edit]

{{mi2|number}}

Example:

  • {{mi2}} → mi2
  • {{mi2|123.45}} → 123.45 mi2
  • {{mi2|123.45 million}} → 123.45 million mi2
  • {{mi2|123.45|link=yes}} → 123.45 mi2

Template data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Mi2 in articles based on its TemplateData.

TemplateData for Mi2

This template shows square miles only.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Area1

Area in square miles

Numberoptional
Link?link

Link square mile to article

Example
yes
Booleanoptional