Difference between revisions of "User:StDoodle/Code sandbox"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 3: Line 3:
 
<includeonly>
 
<includeonly>
 
<nowiki>
 
<nowiki>
&lt;div style="border: dashed 1px green; padding: 1em;&quot;&gt;
+
<div style="border: dashed 1px green; padding: 1em;">
&lt;syntaxhighlight lang&#x3d;&quot;c&quot;&gt;
+
<syntaxhighlight lang="c">
 
//sample code
 
//sample code
 
</nowiki>
 
</nowiki>
 
{{{code}}}
 
{{{code}}}
 
<nowiki>
 
<nowiki>
&lt;/syntaxhighlight&gt;
+
</syntaxhighlight>
&lt;/div&gt;</nowiki></includeonly>
+
</div></nowiki></includeonly>

Revision as of 23:05, 24 February 2010

Uses the named parameters title, description and code to display a code block & its information.