Fyrimynd:BSsplit
Usage rætta
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
” 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 html color or hex triplet for the parameters “
bg1=
(top line) and “bg2=
(bottom line).
Examples rætta
|
See also rætta
See project:ROUTE#Fractional text display template for usage instruction.
Dokumentatiónin omanfyri er tikin frá Fyrimynd:BSsplit/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |