Difference between revisions of "Template:BR/doc"

From Drawn to Life Wiki
(Created page with "This template replaces chains of multiple line-break HTML tags ('''<nowiki><br></nowiki>''' tags) for neater looking articles and better editor support. Use this template in...")
 
 
Line 20: Line 20:
  
 
<nowiki><br></nowiki><nowiki><br></nowiki><nowiki><br></nowiki><nowiki><br></nowiki><nowiki><br></nowiki> would be replaced with <nowiki>{{BR|</nowiki>5<nowiki>}}</nowiki>
 
<nowiki><br></nowiki><nowiki><br></nowiki><nowiki><br></nowiki><nowiki><br></nowiki><nowiki><br></nowiki> would be replaced with <nowiki>{{BR|</nowiki>5<nowiki>}}</nowiki>
 +
 +
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 16:14, 24 November 2020

This template replaces chains of multiple line-break HTML tags (<br> tags) for neater looking articles and better editor support.

Use this template in situations where multiple <br> tags are used together. This template should not be used to replace just a single <br> tag.

Usage

{{BR|Number of Line Breaks}}

Example

{{BR|1}} would insert one <br> tag (line-break) within an article page.

{{BR|2}} would insert/replace two <br> tags (line-break) within an article page.

{{BR|3}} would insert/replace three <br> tags (line-break) within an article page.

...And so on up to 30.


<br><br><br><br><br> would be replaced with {{BR|5}}