Difference between revisions of "Template:Clear"

From Valve Cut Content
Jump to: navigation, search
m (2 revisions imported)
 
Line 1: Line 1:
 
<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude>
 
<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude>
 
Inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.
 
Inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.
 +
 +
TEST --
 +
 +
1{{clear}}2{{clear}}3{{clear}}4
  
 
You can set the first parameter to ''left'' or ''right'' to only have it clear that side, e.g. <tt><nowiki>{{clear|left}}</nowiki></tt>.
 
You can set the first parameter to ''left'' or ''right'' to only have it clear that side, e.g. <tt><nowiki>{{clear|left}}</nowiki></tt>.

Latest revision as of 17:48, 25 December 2018

Inserts a clear: both block. Useful for getting below images in pages.

TEST --

1

2

3

4

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

Imported from: TCRF