Template:Map scale/doc
Appearance
This is a documentation subpage for Template:Map scale. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]{{Map scale}} is used to generate the scale argument for geohack links. The template accepts a number of (optional) parameters that describe the physical dimensions of an object:
- length_mi
- length_km
- width_mi
- width_km
- area_mi2
- area_km2
- area_acre
- area_ha
The template can accept parameters that describe the size of the object on the screen: |viewport_cm=
or |viewport_px=
.
The template also accepts other geohack parameters to generate the scale argument:
- dim
- type (e.g., "mountain" or "city")
- population (for type="city" only)