Jump to content

Template:Clear

From DynamicPageList4 Manual
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this template's documentation (edit) (about template documentation).
No TemplateStyles exist (create). Remember to add after the opening <includeonly> tag:
<templatestyles src="Template:Clear/styles.css" />


Example(s)

[edit source]
  • some-{{clear}}-content gives:

some-

-content

  • some-{{clear|left}}-content gives:

some-

-content

  • some-{{clear|right}}-content gives:

some-

-content

Template Data

[edit source]

Wraps given content in a div with the style="clear:both;" which allows clearing of the left side, the right side or both. Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

To override which side to clear, enter a valid CSS value.

Suggested values
right left
Default
both
Stringoptional


Cookies help us deliver our services. By using our services, you agree to our use of cookies.