Template:Colored bar
Jump to navigation
Jump to search
{{{title}}}
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 :