Template:RouteBox/doc

From Simple English Wikipedia, the free encyclopedia

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

Usage[change source]

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

  • RouteBox
can be abbreviated to {{rbox|…}}
  • text
text (bold) to be displayed in the box
  • link
any valid wikilink; [[ and ]] are not required
  • 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

Example[change source]

{{RouteBox|Line|Line}} Line 

{{rbox|Circle line|Circle line (London Underground)|#{{LUL color|Circle}}|#{{LUL color|Piccadilly}}}} Circle line 

Variants[change 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.