Clear/doc: Difference between revisions

From SL Pro Wrestling Wiki
/>Fandyllic
No edit summary
/>Henstepl
Remove Template:SPW and/or interlanguage links; they have been added to Template:Documentation
Line 1: Line 1:
{{SPW|is not on|name=Clear}}
;Description
;Description
:This template is a shorthand for <code>&lt;br style="clear:both;" /&gt;</code>.
:This template is a shorthand for <code>&lt;br style="clear:both;" /&gt;</code>.

Revision as of 11:23, 2 January 2018

Description
This template is a shorthand for <br style="clear:both;" />.
It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).
Syntax
Type Template:T in an article at the point you want the clear past both right and left content.
...or {{clear|left}} to clear past only left floating objects...
...or {{clear|right}} to clear past only right floating objects.
Parameters
  • 1 = Optionally specify clear criteria other than both (i.e. left or right)
    • Also accepts: inherit, initial, or none
See also
Template:T and Template:T and Template:T