Modèle:Box
{{{titre}}}
|
{{{sous-titre}}}
|
{{{description}}} |
{{{1}}} |
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. |
La documentation de ce modèle est générée par le modèle {{Documentation}}.
Elle est incluse depuis sa sous-page de documentation. Veuillez placer les catégories sur cette page-là.
Les éditeurs peuvent travailler dans le bac à sable (créer) et la page de test (créer).
fr