Template:Boxcode: Difference between revisions
Jump to navigation
Jump to search
m (test) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="float:left; width:100%; overflow:auto; background:#e5e5ff;"> | <div style="float:left; width:100%; overflow:auto; background:#e5e5ff;"> | ||
<div style="float: | <div style="float:left; width:30px;">[[image:Edit-copy_green.svg.png|Code|30x30px]]</div> | ||
<div style="margin:10px;"><pre<noinclude></noinclude>>{{{content|}}}</pre<noinclude></noinclude>></div> | <div style="margin:10px;"><pre<noinclude></noinclude>>{{{content|}}}</pre<noinclude></noinclude>></div> | ||
</div> | </div> | ||
Line 9: | Line 9: | ||
==Example== | ==Example== | ||
{{Boxcode|content= | {{Boxcode|content= | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="xml"> | ||
code | code | ||
lines | lines | ||
here | here | ||
very long lines adds a horizontal scroll bar to the template............................................................................................................................................................................................................................................................................................... o/ sup | |||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
[[Category:templates]]</noinclude> | [[Category:templates]]</noinclude> |
Revision as of 16:46, 7 November 2014
Usage
{{Boxcode|content=some content}}
Example
code lines here very long lines adds a horizontal scroll bar to the template............................................................................................................................................................................................................................................................................................... o/ sup