User:StDoodle/CodeStart sandbox: Difference between revisions

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> //sample code </includeonly> <noinclude> Uses the n…'
 
imported>StDoodle
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
Uses the named parameters ''title'' and ''description'' and ''code'' to display a code block & its information.</noinclude>
<includeonly>
<includeonly>
=={{{title}}}==
{{#if: {{{title|}}}|=={{{title}}}==}}
<p>{{{description}}}</p>
{{#if: {{{description}}}|<p>{{{description}}}</p>}}
<div style="border: dashed 1px green; padding: 1em;">
<div style="border: dashed 1px green; padding: 1em;">
<syntaxhighlight>
<syntaxhighlight lang="c">
//sample code
//sample code
</includeonly>
</includeonly>
<noinclude>
Uses the named parameters ''title'' and ''description'' and ''code'' to display a code block & its information.</noinclude>

Latest revision as of 22:59, 24 February 2010

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