Template:Code: Difference between revisions
No edit summary |
No edit summary |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="codebox"> | <div class="codebox"> | ||
<div class="codebarbg">{{{ | <div class="codebarbg">{{{title|Code}}}</div> | ||
<code {{{ | <code {{{args|cpp}}}>{{{text}}}</code> | ||
</div> | </div><noinclude> | ||
==Parameters== | |||
{| class="wikitable" | |||
|- | |||
! Parameter !! Function | |||
|- | |||
| '''title''' || A label for the code | |||
|- | |||
| '''args''' || Highlighting type and line-numbering settings | |||
|- | |||
| '''text''' || The code | |||
|- | |||
|} | |||
[[Category:Template]] | |||
</noinclude> |
Latest revision as of 21:49, 3 March 2011
{{{text}}}
Parameters
Parameter | Function |
---|---|
title | A label for the code |
args | Highlighting type and line-numbering settings |
text | The code |