Template:Clear: Difference between revisions
No edit summary |
m (minor) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both}}};"></div> | <noinclude> | ||
{{Documentation/sandbox|doc = | |||
This template makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images. | |||
==Usage== | |||
===Parameters=== | |||
;<code>1</code> | |||
:The side to clear. Can be <code>left</code>, <code>right</code> or <code>both</code>. Defaults to <code>both</code>. | |||
==Examples== | |||
*{{tll|Clear}} | |||
*{{tll|Clear|left}} | |||
*{{tll|Clear|right}} | |||
{{Translation guide}} | |||
==See also== | |||
*[[Wikipedia:Template:Clear]] | |||
}} | |||
{{ll|Category:Templates}} | |||
</noinclude><includeonly><div style="clear: {{{1|both}}};"></div></includeonly> |
Latest revision as of 22:09, 23 March 2024
This template makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
Parameters
1
- The side to clear. Can be
left
,right
orboth
. Defaults toboth
.
Examples
How to translate
This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:
- Create a subpage of this template with the language code of the language you want to translate to.
- Copy the code wrapped in the
<noinclude>
tag in this template into the page you created.{{Translation guide}}
template should be removed from the translated documentation.
- Translate the page according to the translation requirements of normal pages.
See also
Editors can experiment in this template's sandbox.