Template:Clear: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{1|}}} | left | {{#vardefine:clear|left}} }} {{#ifeq: {{{1|}}} | right | {{#vardefine:clear|right}} }} {{#ifeq: {{{1|}}} | both | {{#vardefine:clear|both}} }} {{#if: {{{1|}}} | | {{#vardefine:clear|both}} }}<div style="clear: {{#var:clear}}"> </div></includeonly><noinclude>__NOTOC____NOTITLE__[[Category:Layout Templates]]
<includeonly><div style="clear:{{{1|both}}};"></div></includeonly><noinclude>__NOTOC__[[Category:Layout Templates]][https://stepmodifications.org/forum/topic/7837-clear/ '''Forum Topic''']
 
== Purpose & Usage ==
== Purpose & Usage ==
Performs a clear to force content to appear directly below floating content.
Performs a clear to force content to appear directly below floating content.
Line 15: Line 16:
{{TEMPLATE NAME AND ARGUMENTS}}
{{TEMPLATE NAME AND ARGUMENTS}}
-->
-->
text{{clear}}test


== Related Templates ==
== Related Templates ==

Latest revision as of 16:10, August 2, 2021

Forum Topic

Purpose & Usage[edit source]

Performs a clear to force content to appear directly below floating content.

Examples[edit source]

Code:

{{clear}}
{{clear|left}}
{{clear|right}}
{{clear|both}} (<-- same as using no parameter option)

text

test

Related Templates[edit source]