Editing Template:Boxcode
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<div style=" | <div style="float:left; text-align:left; width:100%; background:#e5e5ff; border:3px ridge #8888ff;">[[image:Edit-copy_green.svg.png|link=|20x20px]]''{{{title|Code Sample}}}'' | ||
<div style="margin:10px; margin-top:-10px; overflow:auto;"><noinclude></noinclude>{{{content|}}}<noinclude></noinclude></div> | |||
</div> | |||
<div style="clear:both;"></div><noinclude> | |||
</div><noinclude> | |||
== Usage == | ==Usage== | ||
<nowiki>{{Boxcode|content=some code sample|title=code sample title}}</nowiki> | |||
==Example== | |||
<nowiki>{{ | {{Boxcode|content= | ||
<syntaxhighlight lang="xml"> | |||
code | |||
{{Boxcode| | |||
lines | lines | ||
here | |||
very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup | |||
</syntaxhighlight>|title=Custom Title}} | |||
very long lines adds a horizontal scroll bar | |||
</syntaxhighlight> | |||
[[Category:templates]]</noinclude> | [[Category:templates]]</noinclude> |