Template:BScvt
外观
Usage[编辑]
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.
- Inserting the optional second parameter (any character) reverses the units.
- Decimal values are supported.
- The template automatically adds the units after the values.
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”.
Units[编辑]
The default units are miles for input and kilometres as output.
- Adding the named parameter
in
(for input) will allow alternate input units:
in=
Units Converts to yd yards metres ft feet ch chains m metres yards
See also[编辑]
- {{BSsplit}}, for placing two lines of text in a text field.
上述文档嵌入自Template:BScvt/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |