Template:Clr/doc: Difference between revisions
From Starfy Wiki
Jump to navigationJump to search
m 1 revision |
Trig Jegman (talk | contribs) mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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. | ||
; | ;Alternatively, only clear on one side by adding a parameter "l" for left or "r" for right. | ||
:{{ | :Type <code>{<nowiki />{clr|l}}</code> or <code>{<nowiki />{clr|r}}</code>. | ||
<includeonly>[[Category:General wiki templates | <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}}.