Mal:BSsplit
Hopp til navigering
Hopp til søk
![]() | Denne malen benytter seg av Lua: |
Usage[rediger kilde]
This template displays two lines of text in a text field of a route diagram created with {{BS-map}}.
- The text will inherit the alignment of the parent cell, but can be overridden by applying the parameter
|align=left
,|align=center
, or|align=right
. - The third parameter (alternatively
|L=
) defines a shared wikilink for both lines of text (no[[
or]]
are needed). - The fourth parameter (alternatively
|4=
) will change both lines to italic text. Any character or text can be used. - The fifth parameter (alternatively
|5=
) will change both lines to bold text. Any character or text can be used. - The separating line can be forced to appear by providing an argument for the parameter
|line=anything
. - Background colors can be specified by providing a valid X11 color name (e.g. Mal:Tt) or RGB hex triplet (e.g. Mal:Tt) for the parameters
|bg1=
(top line) and|bg2=
(bottom line).
Examples[rediger kilde]
|
See also[rediger kilde]
- {{BSsrws}} for a railway station name on two lines
- {{BSto}} for two lines of unequal-height text
- {{BScvt}} for two distances
See project:ROUTE#Fractional text display template for usage instruction.
Ovenstående dokumentasjon er transkludert fra Mal:BSsplit/dok. (rediger | historikk) Du kan eksperimentere med denne malens sandkasse (opprett | speil) og testtilfeller (opprett). Vennligst legg kategorier på undersiden /dok. Vis undersider av denne malen. |