Template:Code: Difference between revisions

From KDE TechBase
mNo edit summary
No edit summary
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="ToKeepThisInOnePiece">
<div class="codebox">
<div class="codebarbg">{{{1|Code}}}</div>
<div class="codebarbg">{{{title|Code}}}</div>
<div class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></div>
<code {{{args|cpp}}}>{{{text}}}</code>
<div class="rmiddle">
</div><noinclude>
<div class="rcode">
 
{{{2}}}
==Parameters==
</div><!--/rcode-->
 
</div><!--/rmiddle-->
{| class="wikitable"
<div class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></div>
|-
</div>
! 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

Code

{{{text}}}

Parameters

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