Template:Clr

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Template documentation (View · Edit · History · Purge)

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 {{clr}} in an article at the point you want the clear.

This parameter also accepts one parameter, which can be written as {{clr|right}} or {{clr|left}}. This makes it so content is delayed until just the right or left column is complete. The default clears both columns.


TemplateData

This is the TemplateData documentation for this template used by the VisualEditor and other tools.

TemplateData for Clr

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
side1

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

Stringoptional

Visit Template:Clr/doc to edit this text! (How does this work?) (Refresh this text - why?)