Template:Boxcode: Difference between revisions

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


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

Revision as of 18:52, 7 November 2014

Code{{{lang}}} code
<noinclude></noinclude></div>
</div>
<div style="clear:both;"></div><noinclude>

==Usage==
<nowiki>{{Boxcode|lang|code=some 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
}}