Difference between revisions of "User:Immibis/Sandbox/Function Template"

From ComputerCraft Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
Testing! {{{param}}}
+
<table style="width: 70%; border: solid 2px black; margin: 2px; padding: .3em; border-spacing: 0px;">
 +
<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>
 +
<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>
 +
<td style="border-color: black; padding: .2em; padding-left: .4em;">[[nil]]</td></tr>
 +
<tr style="background-color: #E8E8E8;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Part of</td>
 +
<td style="border-color: black; padding: .2em; padding-left: .4em;">[[{{{addon|ComputerCraft}}}]]</td></tr>
 +
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">API</td>
 +
<td style="border-color: black; padding: .2em; padding-left: .4em;">[[{{{api}}}|{{{api}}} (API)]]</td></tr>
 +
</table>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
{{User:Immibis/Sandbox/Function Template
+
<!--{{User:Immibis/Sandbox/Function Template
|param=1234
+
|name=redstone.setOutput
}}
+
|args=[[string]] side, [[boolean]] value
 +
|api=redstone
 +
}}-->
 +
</noinclude>

Revision as of 02:09, 26 February 2012