Template:Code: Difference between revisions
No edit summary |
m (Fixing up template to use parameters) |
||
Line 1: | Line 1: | ||
<div class="codebox"> | <div class="codebox"> | ||
<div class="codebarbg">{{{ | <div class="codebarbg">{{{title|Code}}}</div> | ||
<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}}}
Parameters
Parameter | Function |
---|---|
title | A label for the code |
args | Highlighting type and line-numbering settings |
code | The code |