Difference between revisions of "Template:Clear"

From Salem Wiki
Jump to: navigation, search
(Adding Clear Template for using it to add content without overlapping (means clearing every format of previous templates))
 
m
 
Line 1: Line 1:
 
<includeonly><div style="clear:{{{1|both}}}"></div></includeonly>
 
<includeonly><div style="clear:{{{1|both}}}"></div></includeonly>
 
<noinclude>
 
<noinclude>
{{doc}}
+
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:46, 10 March 2024



Template documentation (for the template shown above, sometimes hidden or invisible)

This template allows you to clear the left side, the right side, or both by adding <div style="clear:left/right/both;"></div>

Usage

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

To clear the left, simply put {{Clear|left}}. To clear the right, put {{Clear|right}}. To clear both sides, put {{Clear}}.

This template can also be called with {{-}} for short.


Visit Template:Clear/doc to edit this text! (How does this work?)