Mal:BScvt/dok: Forskjell mellom sideversjoner
Hopp til navigering
Hopp til søk
nb>JJMC89 bot m Erstatning av JBS-ikoner: BRÜCKE→hSTRae |
m Én sideversjon ble importert |
(Ingen forskjell)
| |
Siste sideversjon per 1. jan. 2026 kl. 18:17
| Dette er en underside med dokumentasjon for Mal:BScvt (se denne siden for selve malen). Den inneholder brukerinformasjon, kategorier og annet som ikke er del av den originale malsiden. |
| Denne malen benytter seg av Lua: |
Usage
[rediger kilde]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
[rediger kilde]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 mi;ch miles; chains kilometres yd yards metres ft feet ch chains m metres yards
- Whitespace for
mi;ch(in both the distance and the units) is allowed but not necessary.
Examples
[rediger kilde]BScvt | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also
[rediger kilde]- {{BSsplit}}, for placing two lines of text in a text field.