Template:Clear/doc

From Summertime Saga Wiki
< Template:Clear
Revision as of 16:00, 21 July 2020 by Casiope (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The template {{clear}} 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

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

Examples

Example without {{clear}}

Weightlifting minigame icon.jpg

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..

New section without template

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

Example that uses {{clear}}

Weightlifting minigame icon.jpg

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.
{{clear}}

New section with template

See how this section appears below the image?