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

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 2: Line 2:
 
<includeonly>
 
<includeonly>
 
<div style="border: dashed 1px green; padding: 1em;">
 
<div style="border: dashed 1px green; padding: 1em;">
<noinclude></noinclude><syntaxhighlight lang="c"><noinclude></noinclude>
+
<syntaxhighlight<noinclude></noinclude> lang="c">
 
//sample code
 
//sample code
<noinclude></noinclude>{{{code}}}<noinclude></noinclude>
+
{{{code}}}
 
</syntaxhighlight>
 
</syntaxhighlight>
 
</div></includeonly>
 
</div></includeonly>

Revision as of 04:06, 25 February 2010

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