Difference between revisions of "Template:Function"
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_Redstone.png|24px]] Function {{{name}}}</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_Redstone.png|24px]] Function {{{name}}}</td></tr> |
Revision as of 21:20, 30 November 2012
Wiki code
{{Function |name=redstone.setOutput |args=[[string]] side, [[boolean]] value |api=redstone |returns=[[nil]] |addon=ComputerCraft |desc=Sets a redstone output |examples=Examples go here (use [[Template:Example]]) |notes= * Note 1 * Note 2 }}
Note that args, returns, addon, examples and notes are optional.
Result
Function redstone.setOutput | |
Sets a redstone output | |
Syntax | redstone.setOutput(string side, boolean value) |
Returns | nil |
Part of | ComputerCraft |
API | redstone |
Examples
Examples go here (use Template:Example)Additional Notes
- Note 1
- Note 2