Difference between revisions of "Template:Example"
From ComputerCraft Wiki
Scarfacial (Talk | contribs) |
Scarfacial (Talk | contribs) |
||
Line 11: | Line 11: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | {{#if:{{{output|}}}<tr> | + | {{#if:{{{output|}}}|<tr> |
<td style="padding-right: .5em; border-right: solid #DDD 1px;">'''Output'''</td> | <td style="padding-right: .5em; border-right: solid #DDD 1px;">'''Output'''</td> | ||
<td style="padding-left: .5em;">{{{output}}}</td> | <td style="padding-left: .5em;">{{{output}}}</td> |
Revision as of 12:03, 26 February 2012
Wiki code
{{Example |desc=Prints a message |code=print("Hello world!") |output=Hello world! }}
Result
Example | |
Prints a message | |
Code |
print("Hello world!") |
Output | Hello world! |