Template:Boxcode: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
(meh, i cant make it work... returning to an older version)
Line 1: Line 1:
<div style="float:left; width:100%; background:#e5e5ff; border:3px ridge #8888ff;">[[image:Edit-copy_green.svg.png|Code|20x20px]]''code''
<div style="float:left; width:100%; background:#e5e5ff; border:3px ridge #8888ff;">[[image:Edit-copy_green.svg.png|Code|20x20px]]''code''
  <div style="margin:10px; overflow:auto;"><syntaxhighlight lang="{{{1|xml}}}">{{{2|code}}}</syntaxhighlight></div>
  <div style="margin:10px; overflow:auto;"><noinclude></noinclude>{{{content|}}}<noinclude></noinclude></div>
</div>
</div>
<div style="clear:both;"></div><noinclude>
<div style="clear:both;"></div><noinclude>


==Usage==
==Usage==
<nowiki>{{Boxcode|lang|code}}</nowiki>
<nowiki>{{Boxcode|content=some content}}</nowiki>
==Example==
==Example==
{{Boxcode|xml|code
{{Boxcode|content=
<syntaxhighlight lang="xml">
code
code
lines
lines
here
here
very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup
very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup
}}
</syntaxhighlight>}}
[[Category:templates]]</noinclude>
[[Category:templates]]</noinclude>

Revision as of 20:33, 7 November 2014

Codecode

Usage

{{Boxcode|content=some content}}

Example

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