Template:Clear: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
mNo edit summary |
||
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__ | <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]] | ||
== 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 23: | Line 20: | ||
[[:RELATED TEMPLATE NAME AND ARGUMENTS]] | [[:RELATED TEMPLATE NAME AND ARGUMENTS]] | ||
--> | --> | ||
</noinclude> | </noinclude> |
Revision as of 03:52, December 2, 2020
Purpose & Usage
Performs a clear to force content to appear directly below floating content.
Examples
Code:
{{clear}} {{clear|left}} {{clear|right}} {{clear|both}} (<-- same as using no parameter option)