Difference between revisions of "Template:Example"
From ComputerCraft Wiki
m (mediawiki y u troll me) |
Scarfacial (Talk | contribs) |
||
Line 11: | Line 11: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | <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> | ||
− | </tr> | + | </tr>}} |
</table> | </table> | ||
</includeonly> | </includeonly> |
Revision as of 11:58, 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! |