Modèle:Box/Documentation
This template adds an easy box with any content.
Paramètre | Description | Type | État | |
---|---|---|---|---|
content | 1 | The content of the box | Contenu | obligatoire |
header | header | The header of the box | Contenu | facultatif |
subheader | subheader | The subheader of the box | Contenu | facultatif |
description | description | A description | Contenu | facultatif |
image | image | An image displayed on the right of the box | Fichier | facultatif |
image size | image-size | The width of the image in pixels. Makes sense only if the image is given
| Nombre | facultatif |
language code | lang | Code of the language the box content is written in. Specifying the language makes possible for screen readers and other assistive software to handle it correctly (e.g. read out in the right language)
| Ligne de texte | suggéré |
CSS class | class | CSS class for the box. Use it in combination with a TemplateStyles style sheet to style box. Use CSS moderately in order to keep all boxes created with this template consistent
| Ligne de texte | facultatif |
border color | border-color border | Border color of the box. Do not use it unless absolutely necessary, in order to keep all boxes created with this template consistent
| Ligne de texte | facultatif |
background color | background-color | Background color of the box. Do not use it unless absolutely necessary, in order to keep all boxes created with this template consistent
| Ligne de texte | facultatif |
additional CSS | style | Additional CSS styles for the box. Use TemplateStyles instead if possible | Ligne de texte | obsolète |
Examples
modifier{{Box|This is a box.}}
This is a box. |
{{Box|This is a box with header and description.|header=Header|subheader=subheader|description=description}}
description |
This is a box with header, subheader and description. |