Help:Template cheatsheet: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) |
||
Line 231:
|{{Tl|code}}
|
|<code><nowiki>{{code|lang= |1=short snippet of code}}</nowiki></code>
|<code><nowiki>{{code|lang=html|1=<div style="position:relative; margin:0 auto; text-align:initial;">some text</div>}}</nowiki></code>
|{{code|lang=html|1=<div style="position:relative; margin:0 auto; text-align:initial;">some text</div>}}
|Wraps a short span of text in <nowiki><syntaxhighlight></nowiki> tags
|-
|{{Tl|pre}}
|
| <code><nowiki>{{pre|width= |space = nowrap, pre, pre-wrap | some lines of code}}</nowiki></code>
| <code><nowiki>{{pre|width=100px | some '''lines''' of code}}</nowiki></code>
| {{pre|width=100px | some '''lines''' of code}}
| Allows wiki and html markup inside the pre tags
|-
|{{Tl|pre2}}
Line 248:
|
|
| Adds horizontal scrollbox to pre tags
|-
|{{Tl|tag}}
| |||