Template:RouteBox/doc

Jump to navigation Jump to search

This template is similar to {{Color box}}, but provides for both wikilinks and text color and omits the contrasting border.

Usage[edit source]

{{RouteBox|text|link|box color|text color|bold=}}

  • RouteBox
can be abbreviated to {{rbox|…}}
  • text
text (bold) to be displayed in the box
  • link
any valid wikilink; [[ and ]] are not required; can be omitted if no link is wanted
  • box color
background color of the box; default is black; can be omitted if text color is not specified
  • text color 
optional; default is white
  • bold=
optional; default is yes

Examples[edit source]

{{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[edit source]

Template 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
   
,
 
 
,etc.
{{Motor type}} A small color box corresponding to the motor type
SI
A
, etc.

External links[edit source]