Difference between revisions of "Template:Example"
From ComputerCraft Wiki
(Made table more readable (spacing, layout).) |
m (Filled to 100%) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <table style="width: | + | <table style="width: 100%; border: solid 2px 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:20, 30 November 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! |