Template:Clr: Difference between revisions

From Chibi-Robo! Wiki
Jump to navigation Jump to search
No edit summary
 
(Template can now clear left or right. Documentation adapted from: https://nookipedia.com/wiki/Template:Clear/doc)
 
Line 3: Line 3:
''It moves following content below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).
''It moves following content below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).


: See also {{t|clrl}} and {{t|clrr}}
This template can also give space to left or right sides of a section:


*<code><nowiki>{{clear|right}}</nowiki></code> gives space to right side of a section.
*<code><nowiki>{{clear|left}}</nowiki></code> gives space to left side of a section (ideal when headers clash with infoboxes).
[[Category:General wiki templates|{{PAGENAME}}]]
[[Category:General wiki templates|{{PAGENAME}}]]
----
----
</noinclude><div style="clear:both; margin: 0; padding: 0"></div>
</noinclude><div style="clear:{{{1|both}}}; margin: 0; padding: 0"></div>

Latest revision as of 04:52, 28 July 2024

This template is a shorthand for <div style="clear:both;"></div>.

It moves following content below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).

This template can also give space to left or right sides of a section:

  • {{clear|right}} gives space to right side of a section.
  • {{clear|left}} gives space to left side of a section (ideal when headers clash with infoboxes).