User:StDoodle/Code sandbox: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
mNo edit summary
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.