Predloga:Infopolje Naselje/ftm/peskovnik/dok

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search

This is a length conversion subtemplate for {{Infopolje Naselje}}.

Usage[uredi kodo]

{{Infopolje Naselje/ftm/peskovnik|feet|metres|switch|round|link}}

Ordinarily produces: feet ft (metres m).

If one of feet and metres is omitted, it will be calculated by conversion of the other (which must be numerical or an error will be displayed).

Setting switch to any non-empty value causes the metric value to be displayed first.

Set round to define the degree of rounding (e.g. 0 for no decimal places, 1 for 1 decimal, etc.).

Setting link to any non-empty value causes the units to be wikilinked to foot (unit of length) and metre.

Examples[uredi kodo]

Code Result
{{Infopolje Naselje/ftm/peskovnik|57.1}} 17 m
{{Infopolje Naselje/ftm/peskovnik|29.23|8.91}} 8,91 m
{{Infopolje Naselje/ftm/peskovnik||3.2|1||1}} 3,2 m
{{Infopolje Naselje/ftm/peskovnik|11.494|||3|1}} 3,503 m

See also[uredi kodo]