Modèle:Clear/doc

De Wiki Electrolab
< Modèle:Clear
Révision datée du 1 mai 2023 à 09:39 par Electrolab (discussion | contributions) (Page créée avec « {{Documentation}} {{Wikipedia template}} {{t|Clear}} makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images. == Usage == * {{tlx|clear}} — adds <code><div style="clear:both;"></div></code> * {{tlx|clear|left}} — adds <code><div style="clear:left;"></div></code> * {{tlx|clear|right}} — adds <code><div style="clear:right;"></div></code>... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

{{Clear}} makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.

Usage

  • {{clear}} — adds <div style="clear:both;"></div>
  • {{clear|left}} — adds <div style="clear:left;"></div>
  • {{clear|right}} — adds <div style="clear:right;"></div>

TemplateData

Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images, so text will appear on a full width line under the image.

Paramètres du modèle

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

ParamètreDescriptionTypeÉtat
Side1

Can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns.

Lignefacultatif


Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.