Clear/doc: Difference between revisions
/>Dinoguy1000-fduser update {{SPW}} |
/>Fandyllic No edit summary |
||
Line 4: | Line 4: | ||
:It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..). | :It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..). | ||
;Syntax | ;Syntax | ||
:Type <code>{{t|clear}}</code> in an article at the point you want the clear. | :Type <code>{{t|clear}}</code> in an article at the point you want the clear past both right and left content. | ||
:...or <code><nowiki>{{clear|left}}</nowiki></code> to clear past only left floating objects... | |||
:...or <code><nowiki>{{clear|right}}</nowiki></code> to clear past only right floating objects. | |||
;Parameters | |||
* <code>1 =</code> ''Optionally'' specify clear criteria other than <code>both</code> (i.e. <code>left</code> or <code>right</code>) | |||
** Also accepts: <code>inherit</code>, <code>initial</code>, or <code>none</code> | |||
;See also | ;See also | ||
:{{t|clrl}} and {{t|clrr}} and {{t|clr}}<includeonly> | :{{t|clrl}} and {{t|clrr}} and {{t|clr}}<includeonly> |
Revision as of 15:36, 5 December 2017
- 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 thanboth
(i.e.left
orright
)- Also accepts:
inherit
,initial
, ornone
- Also accepts:
- See also
- Template:T and Template:T and Template:T