Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:-/Documentation: Difference between revisions

Template page
licensing disclaimer
add templatedata
 
Line 21: Line 21:


This template is originally part of [https://strategywiki.org/wiki/Main_Page StrategyWiki] which is released under [https://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA 3.0]. This template remains under the CC-BY-SA 3.0 license. See [https://strategywiki.org/w/index.php?title=Template:-&oldid=156677 the original template for previous authors and attribution].
This template is originally part of [https://strategywiki.org/wiki/Main_Page StrategyWiki] which is released under [https://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA 3.0]. This template remains under the CC-BY-SA 3.0 license. See [https://strategywiki.org/w/index.php?title=Template:-&oldid=156677 the original template for previous authors and attribution].
<templatedata>
{
"params": {},
"description": "Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically.",
"format": "inline"
}
</templatedata>


<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:34, 2 July 2024

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.

This template is originally part of StrategyWiki which is released under CC-BY-SA 3.0. This template remains under the CC-BY-SA 3.0 license. See the original template for previous authors and attribution.

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified