Template:Br: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
 
mNo edit summary
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<br clear="all" />
{{#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|left}}</nowiki></code> pushes subsequent content below left-floated elements
*<code><nowiki>{{br|right}}</nowiki></code> pushes subsequent content below right-floated elements
*<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
 
[[Category:Structural templates]]</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