Template:Colorbar

{{{title}}}
Documentation icon Template documentation[view · edit · history · purge ]

Template:Colorbar is Wikidata template.

The template has been designed for tabs and menu of Wikidata projects. You can see an exemple with Wikidata:WikiProject France/Tabs and the results here Wikidata:WikiProject France.

Example edit

{{Colorbar|title=Home|link=Wikidata:WikiProject France}}
{{Colorbar|title=Home|link=Wikidata:WikiProject France|background-color=#FFF|title-color=#0B0080}}

TemplateData edit

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Colorbar

Creates a colored bar that can include hyperlinks.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Background colorbackground-color background

Color of the bar itself, in hexadecimal color code

Example
#333
Stringsuggested
Stylestyle

no description

Unknownoptional
Linklink

The page that the hyperlink points to

Example
Wikidata:Humour
Page namerequired
Title colortitle-color

Color of the text, in hexadecimal color code

Example
#fff
Stringsuggested
Titletitle

Text that will be displayed in the center of the colored bar

Example
Hello world!
Stringsuggested

See also edit