Template:Float style
float: right; clear: right;
Template:Template rating This helper template may be used by sidebar, infobox, and image templates to generate the style statements for controlling float behaviour.
Examples
style="
→ style="float: right; clear: right;"
{{float style}}
"
style="
→ style="float: right; clear: right;"
{{float style|right}}
"
style="
→ style="float: left; clear: left;"
{{float style|left}}
"
style="
→ style="float: none; clear: both; margin-left: auto; margin-right: auto;"
{{float style|center}}
"
style="
→ style="float: none; clear: both; margin-left: auto; margin-right: auto;"
{{float style|both}}
"
style="
→ style="float: none; clear: none;"
{{float style|none}}
"
style="
→ style="float: right; clear: right; margin: 0 0 1em 1em;"
{{float style|margin=1em}}
"
style="
→ style="float: right; clear: right;"
{{float style|right|margin=1em}}
"
style="
→ style="float: left; clear: left; margin: 0 1em 1em 0;"
{{float style|left|margin=1em}}
"
style="
→ style="float: none; clear: both; margin-left: auto; margin-right: auto;"
{{float style|center|margin=1em}}
"
style="
→ style="float: none; clear: both; margin-left: auto; margin-right: auto;"
{{float style|both|margin=1em}}
"
style="
→ style="float: none; clear: none; margin: 0 0 1em 1em;"
{{float style|none|margin=1em}}
"