User:StDoodle/CodeStart sandbox: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
(One intermediate revision 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 lang="c"> | <syntaxhighlight lang="c"> | ||
//sample code | //sample code | ||
</includeonly> | </includeonly> | ||
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.