Template:-: Difference between revisions

Template page
w:c:strategywiki>Mason11987
(if for one variable? Seems unnecessary. rv if I'm mistaken)
w:c:strategywiki>Rocky
(high risk)
Line 1: Line 1:
<noinclude>{{high-risk}}</noinclude>
<includeonly><div style="clear: {{{1|both}}};"></div></includeonly><noinclude>Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically.
<includeonly><div style="clear: {{{1|both}}};"></div></includeonly><noinclude>Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically.



Revision as of 20:16, 1 July 2007

High-risk
High-risk

This high-risk template or image has been protected indefinitely. It is widely used and is at significant risk of vandalism. If you would like to edit this page, bring it up on the talk page, contact a sysop, or bring it up on Discord. Protection is not an endorsement of the current version, which is inevitably the wrong version.

Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically.

Usage

{{-}}

or

{{-
|left, right, or both (default: both)
}}

Example

Header 1

This is a floating element.

Normally Header 2 would start immediately below this text, which would look very ugly.

Header 2

With the clearing element between Header 1 and Header 2, the two headers are separated from each other.