Difference between revisions of "Template:Code"

Jump to: navigation, search
m (Fixing up template to use parameters)
Line 1: Line 1:
 
<div class="codebox">
 
<div class="codebox">
<div class="codebarbg">{{{1|Code}}}</div>
+
<div class="codebarbg">{{{title|Code}}}</div>
<code {{{2|cpp}}}>{{{3}}}</code>
+
<code {{{args|cpp}}}>{{{code}}}</code>
</div>
+
</div><noinclude>
 +
 
 +
==Parameters==
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Parameter !! Function
 +
|-
 +
| '''title''' || A label for the code
 +
|-
 +
| '''args''' || Highlighting type and line-numbering settings
 +
|-
 +
| '''code''' || The code
 +
|-
 +
|}
 +
 
 +
[[Category:Template]]
 +
</noinclude>

Revision as of 17:44, 4 March 2007

Code

{{{code}}}

Parameters

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

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