Template:Br: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
 
Line 1: Line 1:
{{#if:{{{toc|}}}|__TOC__}}<div style="clear:{{{1|both}}}"></div><noinclude>
{{#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:
Used to push any content that follows the template below floating elements. Usage below:


Line 6: Line 6:
*<code><nowiki>{{br}}</nowiki></code> pushes subsequent content below both left and 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|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>
[[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