Template:Boxcode: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
(Created page with "<div style="float:left; width:100%; background:#e5e5ff; border-left: 5px #e5e5ff solid; border-right: 5px #e5e5ff solid;"> <div style="float:right; width:70px;">[[image:Edit-cop...")
 
No edit summary
Line 1: Line 1:
<div style="float:left; width:100%; background:#e5e5ff; border-left: 5px #e5e5ff solid; border-right: 5px #e5e5ff solid;">
<div style="float:left; background-color:#ffffff; width:100%; border:2px solid;">
  <div style="float:right; width:70px;">[[image:Edit-copy_green.svg.png|Source Code|64x64px]]</div><pre<noinclude></noinclude>>{{{content|}}}</pre<noinclude></noinclude>>
  <div style="float:left; margin-left:10px; margin-right:10px; margin-top:10px; margin-bottom:10px;">{{{content|}}}</div>
</div><noinclude>
</div><noinclude>


==Usage==
==Usage==
<nowiki>{{Boxcode|content=some content}}</nowiki>
<nowiki>{{Boxframe0|content=some content}}</nowiki>
 
==Example==
==Example==
{{Boxcode|content=
{{Boxframe0|content=text lines here}}
<syntaxhighlight lang="c">
code
lines
here
</syntaxhighlight>}}
[[Category:templates]]</noinclude>
[[Category:templates]]</noinclude>

Revision as of 15:14, 12 August 2013

Usage

{{Boxframe0|content=some content}}

Example

text lines here