Difference between revisions of "Template:Float"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 6: Line 6:
 
:* <code>| ''1''        = </code>Content to float. Use "''1 = ''" if it contains {{!}} or other template-breaking characters.
 
:* <code>| ''1''        = </code>Content to float. Use "''1 = ''" if it contains {{!}} or other template-breaking characters.
 
<hr />
 
<hr />
:* <code>| ''pos''      = </code>''right'' [default], ''left'', ''center''
+
:* <code>| ''pos''      = </code>''right'' [default], ''left''
 
:* <code>| ''width''    = </code>''n%'' [default:30%]
 
:* <code>| ''width''    = </code>''n%'' [default:30%]
 
:* <code>| ''clr''      = </code>''yes'', ''undefined'' [default]{{n}}if ''yes'', uses {{tl|clr}} to clear the area after the floating element.
 
:* <code>| ''clr''      = </code>''yes'', ''undefined'' [default]{{n}}if ''yes'', uses {{tl|clr}} to clear the area after the floating element.

Revision as of 16:03, 14 September 2010

Lorem ipsum dolor sit amet.

Usage

  • {{float
  • | 1 = Content to float. Use "1 = " if it contains | or other template-breaking characters.

  • | pos = right [default], left
  • | width = n% [default:30%]
  • | clr = yes, undefined [default] – if yes, uses {{clr}} to clear the area after the floating element.

  • | textalign = right, left [default], center
  • | style = valid CSS style [optional]
  • }}