Template:Elevation cells/doc

From Wikipedia, the free encyclopedia

This template calls {{convert}} to generate two table cells for elevation in metres and feet. The template accepts two unnamed parameters, the elevation and either "m" to indicate that the specified elevation is in metres or "ft" for elevation in feet. The unit is optional and defaults to "m" if not given.

Examples:
{{elevation_cells|5959|m}} → style="text-align:right;" data-sort-value="7003595900000000000"|5,959 |style="text-align:right;" data-sort-value="7003595900000000000"|19,551

{{elevation_cells|5959}} → style="text-align:right;" data-sort-value="7003595900000000000"|5,959 |style="text-align:right;" data-sort-value="7003595900000000000"|19,551

{{elevation_cells|20310|ft}} → style="text-align:right;" data-sort-value="7003619048800000000"|20,310 |style="text-align:right;" data-sort-value="7003619048800000000"|6,190


NOTE: When invoking the template twice on the same source line (for example, first call for elevation and second call for prominence), only separate the second call with one "|" and not two "||". See the testcases for examples.


No description.

Template parameters

ParameterDescriptionTypeStatus
11

elevation

Example
5959
Numberrequired
22

unit. Enter "m" for metres or "ft" for feet.

Auto value
m
Stringoptional