Template:Nowrap: Difference between revisions

From Celeste Wiki
m
1 revision imported
(Adapt comment; edits inside noinclude blocks should not affect job queue, but won't kill parser either way.)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
<includeonly><span classstyle="white-space:nowrap">{{{1}}}</span></includeonly><noinclude>
This stops text from wrapping onto the next line. So in this example:
{{documentation}}
<div style="width:80px; border: 1px solid #888; overflow: scroll;">Some random text in here without the template</div>
<!-- Categories go on the /doc page; interwikis go to Wikidata. -->
It'll wrap as shown. With the template:
</noinclude>
<div style="width:80px; border: 1px solid #888; overflow: scroll;">{{Nowrap|Some random text in here without the template}}</div>
[[Category:Templates]]
[[tl:Padron:Nowrap]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.