টেমপ্লেট:BSkm

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
পরিভ্রমণে ঝাঁপ দিন অনুসন্ধানে ঝাঁপ দিন
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]


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

Usage[সম্পাদনা]

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).

Example[সম্পাদনা]

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 also[সম্পাদনা]

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