Difference between revisions of "Template:Clear"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m (Protected "Template:Clear" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading])
m
 
Line 1: Line 1:
 
<noinclude>This [[template]] is used for clearing "floating" objects such as tables, images, thumbs, text boxes etc. Use with a variable, if no variable is used, it will clear both.
 
<noinclude>This [[template]] is used for clearing "floating" objects such as tables, images, thumbs, text boxes etc. Use with a variable, if no variable is used, it will clear both.
 
 
'''Legend:'''
 
'''Legend:'''
 
  <nowiki>{{</nowiki>Clear
 
  <nowiki>{{</nowiki>Clear
Line 6: Line 5:
 
  <nowiki>|left  =  Clears any floaters to the left.</nowiki>
 
  <nowiki>|left  =  Clears any floaters to the left.</nowiki>
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 
 
'''Copy + Paste:'''
 
'''Copy + Paste:'''
 
  <nowiki>{{Clear|right}}</nowiki>
 
  <nowiki>{{Clear|right}}</nowiki>
 
'''Or:'''
 
'''Or:'''
 
  <nowiki>{{Clear|left}}</nowiki>
 
  <nowiki>{{Clear|left}}</nowiki>
 
 
</noinclude><includeonly><div style="clear:{{{1|both}}};"></div></includeonly><noinclude>[[Category:Templates]][[Category:Formatting templates]]</noinclude>
 
</noinclude><includeonly><div style="clear:{{{1|both}}};"></div></includeonly><noinclude>[[Category:Templates]][[Category:Formatting templates]]</noinclude>

Latest revision as of 02:41, 12 February 2013

This template is used for clearing "floating" objects such as tables, images, thumbs, text boxes etc. Use with a variable, if no variable is used, it will clear both. Legend:

{{Clear
|right =  Clears any floaters to the right.
|left  =  Clears any floaters to the left.
}}

Copy + Paste:

{{Clear|right}}

Or:

{{Clear|left}}