Template:Template:Clr/doc: Difference between revisions
(documentation) |
m (Tznkai moved page Peacekeepers of the Vast/Template:Clr/doc to Template:Template:Clr/doc without leaving a redirect) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
This parameter also accepts one parameter, which can be written as {{tlx|clr|right}} or {{tlx|clr|left}}. This makes it so content is delayed until just the right or left column is complete. The default clears both columns. | This parameter also accepts one parameter, which can be written as {{tlx|clr|right}} or {{tlx|clr|left}}. This makes it so content is delayed until just the right or left column is complete. The default clears both columns. | ||
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Peacekeepers of the Vast-General wiki templates|{{PAGENAME}}]]</includeonly> | ||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Peacekeepers of the Vast-Template documentation|{{PAGENAME}}]]</noinclude> | ||
==TemplateData== | ==TemplateData== | ||
Latest revision as of 22:50, 12 December 2023
Description
This template is a shorthand for <div style="clear:both;"></div>. It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).
Usage
Type Template:Tlx in an article at the point you want the clear.
This parameter also accepts one parameter, which can be written as Template:Tlx or Template:Tlx. This makes it so content is delayed until just the right or left column is complete. The default clears both columns.
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. | String | optional |
Credits
Taken from [1]