Fyrimynd:Colorbull/doc
Hetta er ein dokumentatión undirsíða til Fyrimynd:Colorbull. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
This template inserts a colored bullet, with an optional wikilink. The bullet’s shape and size can also be changed.
Usage
rætta{{colorbox|colour|shape|wikilink}}
- 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 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 percentage of the default style text size. Default is 100.
Examples
rættaVisual effect |
Markup |
---|---|
■ | {{colorbull}}
|
■ | {{colorbull|#039}}
|
■ | {{colorbull|size=50}}
|
● | {{colorbull|red|round}}
|
◆ | {{colorbull|green|d}}
|
▲ | {{colorbull||tu|triangle}}
|
See also
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. ■)