Template:Br: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by 4 users 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 class="{{#switch:{{{wide}}}|0|no=nowide}}" 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
*<code><nowiki>{{br|wide=0}}</nowiki></code> does not apply the break to wide displays, only narrow ones


If spacing is needed above [[MarioWiki:Navigation Templates|navigation templates]], then please use <code><nowiki>{{BoxTop}}</nowiki></code> instead.
[[Category:Structural templates]]</noinclude>
</noinclude>

Latest revision as of 22:35, December 23, 2024

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
  • {{br|wide=0}} does not apply the break to wide displays, only narrow ones