Template:Colored bar/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Aesthetic bar model

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Title background colortitle-background-color

Hexadecimal color code for title bar background.

Default
#006699
Example
#273046
Stringsuggested
Box titletitle

title

Stringsuggested
Linklink

Link of the page

Example
Help:Items
Stringsuggested
Iconicon

Icon file name

Example
Circle-icons-chat.svg
Fileoptional
Stylestyle

Additional CSS style for the container

Example
flex: 1 1 20em;
Stringoptional

Examples

[edit]

Example 1

[edit]
{{Colored bar
 | title-color = #3366BB
 | title-background-color = #FCFCFC
 | icon = Circle-icons-support.svg
 | title = Help Contents
 | link = Help:Contents
}}

rendered :

Help Contents