Template:Clear: Difference between revisions
Content added Content deleted
No edit summary |
m (Reverted changes by 2A03:2880:2130:CFE4:FACE:B00C:0:8000 (talk) to last version by Matiia) |
||
Line 1:
<div style="clear:{{{1|both}}};"></div><
==Usage==
<pre>{{clear}}</pre>
This template adds a break, pushing following content to the next line below nearby floating images or templates.
==See also==
Line 12:
[[Category:Typing-aid templates|{{PAGENAME}}]]
[[Category:Formatting templates|{{PAGENAME}}]]
<templatedata>
{
"params": {
"1": {
"description": "either <tt>left</tt> or <tt>right</tt>,
"type": "string",
"default": "both"
}
},
"description": "Adds a break, pushing following content to the next line below nearby floating images or templates",
"format": "inline"
}
</templatedata>
</
|
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 |