Template:Clear

From KDE UserBase Wiki
Revision as of 11:32, 25 October 2022 by Vboz (talk | contribs) (create CSS trick to clear floating images)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The template {{clear}} can be used to clear floating images.

It's just a simple CSS element. After this element, text go to a newline, instead of going nearby floating images.

Example usage

This is a simple example inside the wikitext:

[[File:Example.png|left]]
{{clear}}
Text below the image.

In this way the image is floating on the left, but the text is not floating together with the image.