Template:Colored bar
Jump to navigation
Jump to search
{{{title}}}
This documentation is transcluded from Template:Colored bar/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template is a fork from https://fr.wikipedia.org/wiki/Mod%C3%A8le:Barre_color%C3%A9e
Usage
Allows you to insert a bar with a clickable title.
Remarks
It looks like the model Template:Colored box.
Syntax
Simplified syntax
{{Colored bar | title = | title-color = | title-color-background = | icon = | link = }}
Paramètres
Allows you to insert a bar with a clickable title
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title of the box
| String | suggested |
Title color | title-color | Hexadecimal color code of the title
| String | optional |
Title background color | title-color-background | Hexadecimal color code of the title bar background
| String | suggested |
Link | link | Page behind the edit button | String | suggested |
Icon | icon | Name of the file for the icon
| File | optional |
Size of the icon | icon-size | Set the size of the icon
| Number | suggested |
Style | style | Additional CSS style for the container
| String | optional |
Exemple
The following code
{{Colored bar | title = Accueil | title-color = #2a4b8d | title-color-background = #eaf3ff | link = Main_Page | icon = Osm logo wiki.png }}Render :