Template:Boxcode: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div style="float:left; width:100%; background:#e5e5ff; border:2px ridge #b2b2ff;">
<div style="float:left; width:100%; background:#e5e5ff; border:3px ridge #b2b2ff;">
  <div style="margin:10px; overflow:auto;"><pre<noinclude></noinclude>>{{{content|}}}</pre<noinclude></noinclude>></div>
  <div style="margin:10px; overflow:auto; background:linen; border:none;"><noinclude></noinclude>{{{content|}}}<noinclude></noinclude></div>
</div>
</div>
<div style="clear:both;"></div><noinclude>
<div style="clear:both;"></div><noinclude>

Revision as of 18:59, 7 November 2014

Usage

{{Boxcode|content=some content}}

Example

code
lines
here
very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup