Difference between revisions of "Template:Function"
From ComputerCraft Wiki
m (Spacing fix?) |
m (Patch to fix display issue with "Example" appearing in plain-text.) |
||
| Line 20: | Line 20: | ||
</table>{{#if:{{{examples|}}}| | </table>{{#if:{{{examples|}}}| | ||
| − | = | + | <h2><span class="mw-headline">Examples</span></h2> |
{{{examples|}}} | {{{examples|}}} | ||
|}}{{#if:{{{notes|}}}| | |}}{{#if:{{{notes|}}}| | ||
| − | = | + | <h2><span class="mw-headline">Additional Notes</span></h2> |
{{{notes}}} | {{{notes}}} | ||
|}} | |}} | ||
Latest revision as of 17:13, 7 January 2013
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
| 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