Template:Br: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
(Created page with "<div style="clear:{{{1|both}}}"></div><noinclude>Used to give space to sections if they have a spacing issue. Usage below: *<code><nowiki>{{br}}</nowiki></code> gives space t...")
 
(update from https://www.mariowiki.com/Template:Br)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="clear:{{{1|both}}}"></div><noinclude>Used to give space to sections if they have a spacing issue. Usage below:
{{#if:{{{toc|}}}|__TOC__}}<div style="clear:{{{1|both}}}"></div><noinclude>
Used to push any content that follows the template below floating elements. Usage below:


*<code><nowiki>{{br}}</nowiki></code> gives space to a section
*<code><nowiki>{{br|left}}</nowiki></code> pushes subsequent content below left-floated elements
*<code><nowiki>{{br|right}}</nowiki></code> gives space to right side of a section
*<code><nowiki>{{br|right}}</nowiki></code> pushes subsequent content below right-floated elements
*<code><nowiki>{{br|left}}</nowiki></code> gives space to left side of a section (ideal when headers clash with infoboxes)
*<code><nowiki>{{br}}</nowiki></code> pushes subsequent content below both left and right floated elements
*<code><nowiki>{{br|toc=1}}</nowiki></code> places the table of contents before the clear so that it's not pushed down


[[Category:Formatting templates]]</noinclude>
If spacing is needed above, then please use <code><nowiki>{{BoxTop}}</nowiki></code> instead.
</noinclude>

Latest revision as of 18:01, August 5, 2022

Used to push any content that follows the template below floating elements. Usage below:

  • {{br|left}} pushes subsequent content below left-floated elements
  • {{br|right}} pushes subsequent content below right-floated elements
  • {{br}} pushes subsequent content below both left and right floated elements
  • {{br|toc=1}} places the table of contents before the clear so that it's not pushed down