We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Template:Clear: Difference between revisions

From SnesLab
Jump to: navigation, search
(Created page with "<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude> Inserts a block element with the <code>clear: both</code> CSS attribute....")
 
mNo edit summary
 
Line 2: Line 2:
Inserts a block element with the <code>clear: both</code> CSS attribute. It's useful if you need any text or other element below a floated image in a page. Without this, the text might be displayed beside the image instead.
Inserts a block element with the <code>clear: both</code> CSS attribute. It's useful if you need any text or other element below a floated image in a page. Without this, the text might be displayed beside the image instead.


You can set the first parameter to '''left''' or '''right''' to only have it clear that side, for example: <code><nowiki>{{clear|left}}</nowiki></code>.
You can set the first parameter to '''left''' or '''right''' to only have it clear that side, for example: <code><nowiki>{{clear|left}}</nowiki></code>.</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 12:44, 27 May 2019

Inserts a block element with the clear: both CSS attribute. It's useful if you need any text or other element below a floated image in a page. Without this, the text might be displayed beside the image instead.

You can set the first parameter to left or right to only have it clear that side, for example: {{clear|left}}.