Template:Clear: Difference between revisions
Content added Content deleted
m (Reverted changes by 2A03:2880:2130:CFE4:FACE:B00C:0:8000 (talk) to last version by Matiia) |
(extracting documentation to Template:Clear/doc) |
||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both}}};"></div><noinclude> |
<div style="clear:{{{1|both}}};"></div><noinclude>{{documentation}}</noinclude> |
||
==Usage== |
|||
<pre>{{clear}}</pre> |
|||
This template adds a break, pushing following content to the next line below nearby floating images or templates. |
|||
==See also== |
|||
* {{tl|clearleft}} delays content until left column is complete. |
|||
* {{tl|clearright}} delays content until right column is complete. |
|||
* {{tl|-}} is similar, but technically different. |
|||
*: ''The finer points of {{Tl|clear}} vs. {{Tl|-}} are discussed in [[w:Template talk:-#- versus clear|w:Template talk:-]] and [[w:Template talk:Clear]].'' |
|||
[[Category:Typing-aid templates|{{PAGENAME}}]] |
|||
[[Category:Formatting templates|{{PAGENAME}}]] |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"description": "either <tt>left</tt> or <tt>right</tt>, to replace the default <tt>both</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> |
|||
</noinclude> |