Difference between revisions of "Template:Code"

Jump to: navigation, search
Line 1: Line 1:
 
<div class="codebox">
 
<div class="codebox">
 
<div class="codebarbg">{{{title|Code}}}</div>
 
<div class="codebarbg">{{{title|Code}}}</div>
<div>{{{text}}}</div>
+
<div {{{args|cpp}}}>{{{text}}}</div>
 
</div><noinclude>
 
</div><noinclude>
  

Revision as of 22:37, 3 March 2011

Code
{{{text}}}

Parameters

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

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal