Template:RouteBox
{{{1}}}
This template is similar to {{Colorbox}} and {{Color box}}, but provides for both wikilinks and text color and omits the contrasting border.
Usage
change{{RouteBox|text|link|box color|text color}}
|
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 |
Example
change{{RouteBox|Line|Line}}
→ Line
{{rbox|Circle line|Circle line (London Underground)|#{{LUL color|Circle}}|#{{LUL color|Piccadilly}}}}
→ Circle line
Variants
changeTemplate | Description | Example |
---|---|---|
{{Color box}} | a small color box with black borders and text color | or ORANGE |
{{RouteBox}} | a borderless version with text color and wikilinks | ORANGE |
{{Colorbull}} | a colored bullet with wikilinks | ■ |
{{Legend2}} | another borderless version | |
{{Color sample}} | a small color box with black borders | |
{{Swatch inline}} | orange | |
{{Background color}} | orange | |
{{Rail color box}} | a version with more display options (part of Module:Adjacent stations) |
●, Orange, etc. |
{{Diagonal split color box}} | a small color box split diagonally | B R B R WB R W R WB W B W B B B B B W B B B B B B |
{{Motor type}} | A small color box corresponding to the motor type | SI A |