Help:Template cheatsheet: Difference between revisions

Content deleted Content added
Line 263:
|{{Tl|syntaxhighlight}}
| {{tl|sxhl}}
|<code><nowiki>{{sxhl|scroll| stylelang= | some lines of code }} </nowiki></code>
|<code><nowiki>{{sxhl|lang=html|1=<div style="position:relative; margin:0 auto; text-align:initial;">some text</div>}}</nowiki></code>
|<code><nowiki>{{sxhl|scroll|Text to be displayed. And more and more and more... and an empty line
|<div style="width: 300px;">{{sxhl|lang=html|1=<div style="position:relative; margin:0 auto; text-align:initial;">some text</div>}}</div>
 
And then more and more...}}</nowiki></code>
|<div style="width: 300px;">{{sxhl|scroll|Text to be displayed. And more and more and more and more and more and more and more and more and more and more... and an empty line
 
And then more and more...}}</div>
| Unlike <nowiki><syntaxhighlight></nowiki>, text that does not fit will be wrapped.
|}