Modèle:Box

Une page de Wikiquote, le recueil des citations libres.
{{{titre}}}
{{{sous-titre}}}
{{{description}}}
{{{1}}}

 Documentation[voir] [modifier] [historique] [purger]


This template adds an easy box with any content.

Paramètres du modèle[Modifier les données du modèle]

La mise en forme sur une seule ligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
content1

The content of the box

Contenuobligatoire
headerheader

The header of the box

Contenufacultatif
subheadersubheader

The subheader of the box

Contenufacultatif
descriptiondescription

A description

Contenufacultatif
imageimage

An image displayed on the right of the box

Fichierfacultatif
image sizeimage-size

The width of the image in pixels. Makes sense only if the image is given

Par défaut
50
Exemple
20
Nombrefacultatif
language codelang

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)

Par défaut
en
Exemple
fr
Ligne de textesuggéré
CSS classclass

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

Exemple
myboxclass yetanotherclass
Ligne de textefacultatif
border colorborder-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

Par défaut
#999
Ligne de textefacultatif
background colorbackground-color

Background color of the box. Do not use it unless absolutely necessary, in order to keep all boxes created with this template consistent

Par défaut
white
Ligne de textefacultatif
additional CSSstyle

Additional CSS styles for the box. Use TemplateStyles instead if possible

Ligne de texteobsolè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.


fr