Template:Km2/doc
Appearance
![]() | This is a documentation subpage for Template:Km2. It may contain usage information, categories and other content that is not part of the original template page. |
This template shows square kilometres only.
Conversion to square miles via {{cvt}}
or {{convert}}
is strongly suggested by WP:UNITS. Eg:
{{cvt|100|km2|0}}
→ 100 km2 (39 sq mi){{cvt|100|km2|round=5}}
→ 100 km2 (40 sq mi)
Usage
[edit]{{km2|number}}
Example:
{{km2}}
→ km2{{km2|123.45}}
→ 123.45 km2{{km2|123.45 million}}
→ 123.45 million km2{{km2|123.45|link=yes}}
→ 123.45 km2
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:Km2 in articles based on its TemplateData.
TemplateData for Km2
This template shows square kilometres only.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Area | 1 | Area in square kilometres | Number | optional |
Link? | link | Link square kilometre to article
| Boolean | optional |