Difference between revisions of "Template:Function"

From ComputerCraft Wiki
Jump to: navigation, search
Line 3: Line 3:
 
<tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid black 1px;">Function {{{name}}}</td></tr>
 
<tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid black 1px;">Function {{{name}}}</td></tr>
 
<tr style="background-color: #E8E8E8;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Syntax</td>
 
<tr style="background-color: #E8E8E8;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Syntax</td>
<td style="border-color: black; padding: .2em; padding-left: .4em;">{{{name}}}({{{args}}})</td></tr>
+
<td style="border-color: black; padding: .2em; padding-left: .4em;">{{{name}}}({{{args|}}})</td></tr>
 
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Returns</td>
 
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Returns</td>
 
<td style="border-color: black; padding: .2em; padding-left: .4em;">{{{returns|[[nil]]}}}</td></tr>
 
<td style="border-color: black; padding: .2em; padding-left: .4em;">{{{returns|[[nil]]}}}</td></tr>

Revision as of 04:11, 27 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

Grid Redstone.png  Function redstone.setOutput
No description provided.
Syntax redstone.setOutput(string side, boolean value)
Returns nil
Part of ComputerCraft
API redstone

Examples

Examples go here

Additional Notes

  • Note 1
  • Note 2