Template:Clr/doc: Difference between revisions

From Starfy Wiki
Jump to navigationJump to search
m Text replacement - "|{{PAGENAME}}]]" to "]]"
mNo edit summary
 
Line 4: Line 4:
;Syntax
;Syntax
:Type <code>{{t|clr}}</code> in an article at the point you want the clear.
:Type <code>{{t|clr}}</code> in an article at the point you want the clear.
;See also
;Alternatively, only clear on one side by adding a parameter "l" for left or "r" for right.
:{{t|clrl}} and {{t|clrr}}
:Type <code>{<nowiki />{clr|l}}</code> or <code>{<nowiki />{clr|r}}</code>.


<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 04:38, 18 June 2026

Description
This template is a shorthand for <div style="clear:both;"></div>.
It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).
Syntax
Type {{clr}} in an article at the point you want the clear.
Alternatively, only clear on one side by adding a parameter "l" for left or "r" for right.
Type {{clr|l}} or {{clr|r}}.