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 1: Line 1:
<includeonly>=={{{title}}}==
<p>{{{description}}}</p>
<div style="border: dashed 1px green; padding: 1em;">
<div style="border: dashed 1px green; padding: 1em;">
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
//sample code
//sample code
{{{code}}}
{{{1}}}
</syntaxhighlight>
</syntaxhighlight>
</div></includeonly>
</div></includeonly>
<noinclude>
<noinclude>
Uses the named parameters ''title'', ''description'' and ''code'' to display a code block & its information.
Uses the named parameters ''title'', ''description'' and ''code'' to display a code block & its information.</noinclude>

Revision as of 04:28, 24 February 2010

//sample code
{{{1}}}

</includeonly>

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