Template:Colored bar/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Colored bar. It contains usage information, categories and other content or metadata that is not part of the original template. |
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 :
See Also
- Template:Clickable button
- Template:Code rendered
- Template:Colored bar
- Template:Begin colored insert
- Template:End insert
- Template:Colored box