Difference between revisions of "User:MathManiac0/Templates"
From ComputerCraft Wiki
MathManiac0 (Talk | contribs) (Added Template Page; included Function template.) |
(Might as well edit this page as well...) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
{{Function | {{Function | ||
|name=foo.Bar | |name=foo.Bar | ||
− | |args= [[ | + | |args= [[number (type)|number]] number |
− | |returns=[[ | + | |returns=[[number (type)|number]] number |
− | |api= | + | |api= |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Returns the given number | |desc=Returns the given number |
Latest revision as of 14:26, 18 July 2013
Look in the source code to see how the tables are made.
These pieces of data isn't real; they are instead examples how the templates can be made.
Function foo.Bar | |
Returns the given number | |
Syntax | foo.Bar(number number) |
Returns | number number |
Part of | ComputerCraft |
API | none |
Examples
Example | |
Prints the number wrapped by foo.Bar() | |
Code |
print(foo.Bar(2)) |
Output | 2 |