Difference between revisions of "Template:Example"
From ComputerCraft Wiki
(I give up) |
|||
| Line 8: | Line 8: | ||
<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}}} | + | {{{code}}} |
</td> | </td> | ||
</tr> | </tr> | ||
Revision as of 01:42, 5 November 2012
Wiki code
{{Example
|desc=Prints a message
|code=print("Hello world!")
|output=Hello world!
}}
Result
| Prints a message | |
| Code |
print("Hello world!")
|
| Output | Hello world! |