Difference between revisions of "Template:Rlb"

From Valve Developer Community
Jump to: navigation, search
(Created page with "<includeonly><onlyinclude><span style=user-select:none></span></onlyinclude></includeonly> RLB – Remove Line Break. Inserts a simple {{Code|<span>}} tag with the {{Code|u...")
 
m
 
Line 1: Line 1:
<includeonly><onlyinclude><span style=user-select:none></span></onlyinclude></includeonly>
+
{{Delete|Everything turned out to be much simpler, just use the &lt;wbr> tag because it doesn’t need a closing tag, and it doesn’t change anything.}}
RLB – Remove Line Break. Inserts a simple {{Code|&lt;span>}} tag with the {{Code|user-select:none}} property, so that if the template was used in the correct place, the line break will not be highlighted when the text is selected (does not affect copying).
 
 
 
== Example ==
 
This template is applied only to line 2. Try selecting all the lines to see what this template does:
 
 
 
<div style="font-size:20px">
 
 
 
Line 1
 
 
 
Line 2{{Rlb}}
 
 
 
Line 3
 
 
 
Line 4
 
 
 
Line 5
 
 
 
</div>
 

Latest revision as of 12:19, 12 April 2024

Warning icon.png
This template has been marked as a candidate for speedy deletion for the following reason:
Everything turned out to be much simpler, just use the <wbr> tag because it doesn’t need a closing tag, and it doesn’t change anything.
If you object to this decision, then please discuss why hereIf this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators - Remember to check if anything links here and the page history (last edit) before deleting.