Mal:BScvt/dok
- Mal
- Diskusjon
This template displays a distance as two lines of text in a text field of a route diagram created with {{BS-map}}. The template takes the input (in Imperial units) and calculates the metric equivalent.
The text is right-aligned, but can be changed to left- by applying the parameter "align=left
".
The alternate units can be changed to italic by applying the parameter "alt=italic
".
A dividing line can be added by applying the parameter “|line=
anything ”.
The default units are miles for input and kilometres as output.
|in=
(for input) will allow alternate input units:in= | Units | Converts to |
---|---|---|
mi;ch | miles; chains | kilometres |
yd | yards | metres |
ft | feet | |
ch | chains | |
m | metres | yards |
mi;ch
(in both the distance and the units) is allowed but not necessary.Mal:Left