Difference between revisions of "Template:Function"
From ComputerCraft Wiki
m (Still broken. Too bad preview doesn't work for templates.) |
m (Don't you just hate when the official documentation is wrong?) |
||
| 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> | ||
</table> | </table> | ||
| − | {{#if: {{{examples|}}} | | + | {{{#if: {{{examples|}}} | |
== Examples == | == Examples == | ||
{{{examples}}} | {{{examples}}} | ||
| − | |}} | + | |}}} |
| − | {{#if: {{{notes|}}} | | + | {{{#if: {{{notes|}}} | |
== Additional Notes == | == Additional Notes == | ||
{{{notes}}} | {{{notes}}} | ||
| − | |}} | + | |}}} |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Revision as of 02:43, 26 February 2012
Wiki code
{{Function
|name=redstone.setOutput
|args=[[string]] side, [[boolean]] value
|api=redstone
|returns=[[nil]]
|addon=ComputerCraft
|examples=Examples go here
|notes=
* Note 1
* Note 2
}}
Note that returns, addon, examples and notes are optional.
Result
| No description provided. | |
| Syntax | redstone.setOutput(string side, boolean value) |
| Returns | nil |
| Part of | ComputerCraft |
| API | redstone |
Examples
Examples go hereAdditional Notes
- Note 1
- Note 2