Fyrimynd:RouteBox/doc
Hetta er ein dokumentatión undirsíða til Fyrimynd:RouteBox. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
This template is similar to {{Colorbox}} and {{Color box}}, but provides for both wikilinks and text color and omits the contrasting border.
Usage
rætta{{RouteBox|text|link|box color|text color|bold=}}
|
can be abbreviated to {{rbox|…}}
|
|
text (bold) to be displayed in the box |
|
any valid wikilink; [[ and ]] are not required
|
|
background color of the box; default is black; can be omitted if text color is not specified
|
|
optional; default is white |
|
optional; default is yes |
Examples
rætta{{RouteBox|Line|Line}}
→ Line
{{rbox|Circle line|Circle line (London Underground)|#{{LUL color|Circle}}|#{{LUL color|Piccadilly}}}}
→ Circle line
{{RouteBox|Text||bold=no}}
→ Text
Variants
rætta- {{Colorbox}}, a small color box with grey borders and wikilinks. (e.g. or RED )
- {{Color box}}, a small color box with black borders and text color. (e.g. or RED )
- {{RouteBox}}, a borderless version with text color and wikilinks. (e.g. RED )
- {{Colorbull}}, a colored bullet with wikilinks. (e.g. ■)