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 2: Line 2:
<includeonly><p>&nbsp;</p>
<includeonly><p>&nbsp;</p>
{{#if: {{{title|}}}|<h2>{{{title}}}</h2>}}
{{#if: {{{title|}}}|<h2>{{{title}}}</h2>}}
{{#if: {{{description|}}}|<p>{{{description}}}</p>}}
{{#if: {{{description|}}}|<p>&nbsp;</p><p>{{{description}}}</p>}}
<div style="border: dashed 1px green; padding: 1em;">
<div style="border: dashed 1px green; padding: 1em;">
{{{code}}}
{{{code}}}
</div><p>&nbsp;</p></includeonly>
</div><p>&nbsp;</p></includeonly>

Revision as of 09:33, 25 February 2010

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