Template:Code: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
Line 1: Line 1:
{{{text}}}
{{{context}}}
<div class="codebox">
<div class="codebox">
<div class="codebarbg">{{{title|Code}}}</div>
<div class="codebarbg">{{{title|Code}}}</div>
<code {{{args|cpp}}}>{{{text}}}</code>
<code {{{args|cpp}}}>{{{context}}}</code>
</div><noinclude>
</div><noinclude>



Revision as of 21:16, 3 March 2011

{{{context}}}

Code

{{{context}}}

Parameters

Parameter Function
title A label for the code
args Highlighting type and line-numbering settings
text The code