Template:Br: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Protected "Template:Br": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
(6 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 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


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

Latest revision as of 14:00, April 19, 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