Difference between revisions of "Template:Example"
From ComputerCraft Wiki
(Created page with "<includeonly> <table style="border-spacing: 0px;"> <tr> <td style="padding-right: .5em; border-right: solid #DDD 1px; border-bottom: solid #DDD 1px;">'''Description'''</td> <t...") |
m (mediawiki y u troll me) |
||
Line 7: | Line 7: | ||
<tr> | <tr> | ||
<td style="padding-right: .5em; border-right: solid #DDD 1px;">'''Code'''</td> | <td style="padding-right: .5em; border-right: solid #DDD 1px;">'''Code'''</td> | ||
− | <td style="padding-left: .5em;"> | + | <td style="padding-left: .5em;"> |
+ | {{{code}}} | ||
+ | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> |
Revision as of 02:57, 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! |