Difference between revisions of "Template:Function"
From ComputerCraft Wiki
(added description field) |
(moved description field) |
||
Line 10: | Line 10: | ||
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">API</td> | <tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">API</td> | ||
<td style="border-color: black; padding: .2em; padding-left: .4em;">[[{{{api}}} (API)|{{{api}}}]]</td></tr> | <td style="border-color: black; padding: .2em; padding-left: .4em;">[[{{{api}}} (API)|{{{api}}}]]</td></tr> | ||
+ | <tr style="background-color: #E8E8E8;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Description</td> | ||
+ | <td style="border-color: black; padding: .2em; padding-left: .4em;">{{desc|No description provided.}}</td></tr> | ||
</table> | </table> | ||
− | |||
− | |||
== Examples == | == Examples == |
Revision as of 09:01, 2 March 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 |notes= * Note 1 * Note 2 }}
Note that 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 hereAdditional Notes
- Note 1
- Note 2