Difference between revisions of "Template:Code"

Jump to: navigation, search
m
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="ToKeepThisInOnePiece">
+
<div class="codebox">
<div class="codebarbg">{{{1}}}</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 22:49, 3 March 2011

Code

{{{text}}}

[edit] Parameters

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

This page was last modified on 3 March 2011, at 22:49. This page has been accessed 5,912 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal