Template: Clear/doc

From The Lost Media Wiki
Jump to: navigation, search

This template adds <div style="clear:both;"></div>, <div style="clear:left;"></div>, or <div style="clear:right;"></div>.

{{clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.

Usage[edit source]

{{clear}}
{{clear|left}}
{{clear|right}}

Example without {{clear}}[edit source]

Lmw tan by gaucelm-d9cl8hx.png

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

New section without template[edit source]

See how this section starts at the right of the image?


Example that uses {{clear}}[edit source]

Lmw tan by gaucelm-d9cl8hx.png

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{clear}}


New section with template[edit source]

See how this section appears below the image?