Template:Colorbull/doc

Jump to navigation Jump to search

This template inserts a colored bullet, with an optional wikilink. The bullet’s shape and size can also be changed.

Usage[edit source]

{{colorbull|color|shape|wikilink|size=|description=}}

  • Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See web colors for details. The default is black.
  • Shape is optional; valid arguments are:
c / circle / r / round
d / diamond
tu / up / uptriangle
td / dn / downtriangle
tl / lt / lefttriangle
tr / rt / righttriangle
default
  • The wikilink parameter is also optional and specifies the article to which the text should point.
  • The named parameter size is a number specifying the bullet size as a % of the default style text size. Default is 100.
  • The named parameter description replaces the default color tooltip. This is also heard by a screen reader.

Examples[edit source]

Visual
effect
Markup
{{colorbull}}
{{colorbull|#039}}
{{colorbull|size=50}}
{{colorbull|red|round}}
{{colorbull|green|d}}
{{colorbull||tu|triangle}}

See also[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.
  • {{*}}/{{bull}}/{{bullet}}, a simple bullet. (e.g.  • )

External links[edit source]