Template:Boxcode: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(more tests... boxcode templates broken temporally)
mNo edit summary
Line 1: Line 1:
<div style="float:left; width:100%; background:#e5e5ff; border:3px ridge #8888ff;">[[image:Edit-copy_green.svg.png|Code|20x20px]]''{{{lang}}} code''
<div style="float:left; width:100%; background:#e5e5ff; border:3px ridge #8888ff;">[[image:Edit-copy_green.svg.png|Code|20x20px]]''{{{1|xml}}} code''
  <div style="margin:10px; overflow:auto;"><noinclude></noinclude>{{{code|}}}<syntaxhighlight lang="{{{lang}}}"><noinclude></noinclude></div>
  <div style="margin:10px; overflow:auto;"><syntaxhighlight lang="{{{1|xml}}}">{{{2|}}}</div>
</div>
</div>
<div style="clear:both;"></div><noinclude>
<div style="clear:both;"></div><noinclude>


==Usage==
==Usage==
<nowiki>{{Boxcode|lang|code=some code}}</nowiki>
<nowiki>{{Boxcode|lang|code}}</nowiki>
==Example==
==Example==
{{Boxcode|xml|code=
{{Boxcode|xml|code
code
code
lines
lines

Revision as of 19:08, 7 November 2014

Codexml code
{{{2|}}}</div>
</div>
<div style="clear:both;"></div><noinclude>

==Usage==
<nowiki>{{Boxcode|lang|code}}</nowiki>
==Example==
{{Boxcode|xml|code
code
lines
here
very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup
}}