Template:Clear: Difference between revisions

From Valve Cut Content
Jump to: navigation, search
oldwiki>Livelong2
(port)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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>.


Imported from: [https://tcrf.net/Template:Clear TCRF]
Imported from: [https://tcrf.net/Template:Clear TCRF]
[[Category:Design]]
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

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