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

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m (Created page with '<includeonly>=={{{title}}}== <p>{{{description}}}</p> <div style="border: dashed 1px green; padding: 1em;"> <syntaxhighlight lang="javascript"> //sample code {{{code}}} </syntaxh…')
 
imported>StDoodle
m
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>=={{{title}}}==
+
<noinclude>Uses the named parameters ''title'', ''description'' and ''code'' to display a code block & its information.</noinclude>
<p>{{{description}}}</p>
+
<includeonly>
 +
{{#if: {{{title|}}}|<h2>{{{title}}}</h2>}}
 +
{{#if: {{{description|}}}|<p>{{{description}}}</p>}}
 
<div style="border: dashed 1px green; padding: 1em;">
 
<div style="border: dashed 1px green; padding: 1em;">
<syntaxhighlight lang="javascript">
 
//sample code
 
 
{{{code}}}
 
{{{code}}}
</syntaxhighlight>
 
 
</div></includeonly>
 
</div></includeonly>
<noinclude>
 
Uses the named parameters '''title''', '''description''' and '''code''' to display a code block & its information.
 

Latest revision as of 11:43, 25 February 2010

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