Difference between revisions of "Template:Function"

From ComputerCraft Wiki
Jump to: navigation, search
m
(Fixed again now that PF's are actually installed *massive facepalm*)
Line 12: Line 12:
 
</table>
 
</table>
  
{{#ifeq:{{{examples|}}}|{{{examples|-}}}||
 
 
== Examples ==
 
== Examples ==
{{{examples}}}
+
{{{examples|There are no examples for this function.}}}
}}
+
  
{{{#ifeq:{{{notes|}}}|{{{notes|-}}}||
+
{{#if:{{notes|}}|
 
== Additional Notes ==
 
== Additional Notes ==
 
{{{notes}}}
 
{{{notes}}}
}}}
+
|}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 03:56, 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

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