Template:Code: Difference between revisions

From KDE TechBase
No edit summary
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 16: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