Template:Clear: Difference between revisions
Content deleted Content added
No edit summary |
m Reverted changes by 2A03:2880:2130:CFE4:FACE:B00C:0:8000 (talk) to last version by Matiia |
||
Line 1: | Line 1: | ||
<div style="clear:{{{1|}}};"></div>< |
<div style="clear:{{{1|both}}};"></div><noinclude> |
||
==Usage== |
==Usage== |
||
<pre>{{clear}}</pre> |
<pre>{{clear}}</pre> |
||
This template adds a break, pushing following content to the next line below nearby floating or. |
This template adds a break, pushing following content to the next line below nearby floating images or templates. |
||
==See also== |
==See also== |
||
Line 12: | Line 12: | ||
[[Category:Typing-aid|{{}}]] |
[[Category:Typing-aid templates|{{PAGENAME}}]] |
||
[[Category:Formatting|{{}}]] |
[[Category:Formatting templates|{{PAGENAME}}]] |
||
<templatedata> |
|||
<> |
|||
{ |
{ |
||
"params": { |
"params": { |
||
"1": { |
"1": { |
||
"description": >left</tt> or <tt>right</tt>, |
"description": "either <tt>left</tt> or <tt>right</tt>, to replace the default <tt>both</tt>", |
||
"type": "string", |
"type": "string", |
||
"": "" |
"default": "both" |
||
} |
} |
||
}, |
}, |
||
"description": "Adds a break, following content to the next line below nearby floating or", |
"description": "Adds a break, pushing following content to the next line below nearby floating images or templates", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
</ |
</noinclude> |
Revision as of 03:45, 25 February 2017
Usage
{{clear}}
This template adds a break, pushing following content to the next line below nearby floating images or templates.
See also
- {{clearleft}} delays content until left column is complete.
- {{clearright}} delays content until right column is complete.
- {{-}} is similar, but technically different.
- The finer points of {{clear}} vs. {{-}} are discussed in w:Template talk:- and w:Template talk:Clear.
Adds a break, pushing following content to the next line below nearby floating images or templates
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | either <tt>left</tt> or <tt>right</tt>, to replace the default <tt>both</tt>
| String | optional |