Template:Clear/doc
Template:Documentation subpage Template:High-use Template:Nosubst
Description
This template 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
- Template:Tlx — adds
<div style="clear:both;"></div> - Template:Tlx — adds
<div style="clear:left;"></div> - Template:Tlx — adds
<div style="clear:right;"></div>
For technical details, see the discussion in the talk page.
Examples
Example without Template:Tlf
New section without the template before
Without the code Template:Tlc, this section starts at the right of the image.
Example that uses Template:Tlf
Template:Lorem ipsum span
Template:Tnull
New section with the template before
Here the code Template:Tlc is placed before this section, so it appears below the image.
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Side | 1 | Can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns.
| Line | optional |
See also
- Template:Tl (implemented using this template)
- Template:Tl (implemented using this template)
- Template:Tl (derived from this template)
- Template:Tl
- Template:Tl
- Template:Tl