మూస:BSkm/doc

వికీపీడియా నుండి
Jump to navigation Jump to search


This template has been superseded by {{BScvt}}.

This template displays two lines of text in a text field of a route diagram created with {{BS-map}}. Inserting the optional parameter "noline=yes" causes the dividing line to be suppressed. (The same result can be obtained by using the {{BSsplit}} template.) Despite its name, this template does not produce the unit km after the text entry.

For tidiness of the expected unit entries, the whole template is "<div style="float:right;">". This means that whichever text cell it is in the template's text will always float to the right. Even if placed in the main text or note 1 cells, the template will float to the right end of the row, unless the note 2 cell is occupied. The alignment can be changed to left by applying the parameter "align=left" (but the text within the template will inherit the alignment of the parent cell).

BSkm
Result: Input:
0 km
0 mi
{{BSkm|0km|0 mi}}
two lines
of text
{{BSkm|two lines|of text|noline=yes}}
1st line
2nd line
{{BSkm|1st line|2nd line|align=left}}
||{{BSkm|two lines|of text}}|note 2
two lines
of text
note 2
➚ Placed in main text or note 1 cell.

See project:ROUTE#Fractional text display template for usage instruction.


"https://te.wikipedia.org/w/index.php?title=మూస:BSkm/doc&oldid=1864289" నుండి వెలికితీశారు