Difference between revisions of "Template:Example"
From ComputerCraft Wiki
m (Filled to 100%) |
m (Border thinned by 50%) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
| − | <table style="width: 100%; border: solid | + | <table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;"> |
<tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid black 1px; background: #DBE5FF; line-height:28px;">[[File:Grid_paper.png|24px]] Example</td></tr> | <tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid black 1px; background: #DBE5FF; line-height:28px;">[[File:Grid_paper.png|24px]] Example</td></tr> | ||
Revision as of 21:22, 30 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! |