Difference between revisions of "Template:Function"
From ComputerCraft Wiki
m (Protected "Template:Function": This template is a live template; please edit using a sandbox! ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m (Spacing fix?) |
||
Line 18: | Line 18: | ||
<td style="border-color: #C9C9C9; padding: .4em; padding-left: .8em;">{{#if: {{{api}}} | [[{{{api}}} (API)|{{{api}}}]] | none }}</td></tr> | <td style="border-color: #C9C9C9; padding: .4em; padding-left: .8em;">{{#if: {{{api}}} | [[{{{api}}} (API)|{{{api}}}]] | none }}</td></tr> | ||
− | </table> | + | </table>{{#if:{{{examples|}}}| |
− | |||
== Examples == | == Examples == | ||
{{{examples|}}} | {{{examples|}}} | ||
− | |}} | + | |}}{{#if:{{{notes|}}}| |
− | |||
== Additional Notes == | == Additional Notes == | ||
{{{notes}}} | {{{notes}}} |
Revision as of 18:11, 30 December 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