Difference between revisions of "Template:Function"
From ComputerCraft Wiki
(moved description field) |
m (fixed typo) |
||
| Line 11: | Line 11: | ||
<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> | <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> | + | <td style="border-color: black; padding: .2em; padding-left: .4em;">{{{desc|No description provided.}}}</td></tr> |
</table> | </table> | ||
Revision as of 09:02, 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
| 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