Difference between revisions of "Template:Function"

From Vendetta Lua
Jump to: navigation, search
(New page: <noinclude> The following is currently just the intended syntax. No template code exists. <pre> {{Function | name = Function Name | desc = Function description | arg1_name...)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
The following is currently just the intended syntax.  No template code exists.
+
The following is currently just the intended syntax.  No template code exists.<br />
 +
This function will in turn call [[Template:Function_wrapped]]
 
<pre>
 
<pre>
 
{{Function
 
{{Function

Revision as of 07:52, 30 March 2011

The following is currently just the intended syntax. No template code exists.
This function will in turn call Template:Function_wrapped

{{Function
| name         = Function Name
| desc         = Function description
| arg1_name    = argument (1,2,...,n) name
| arg1_type    = [nil, boolean, number, string, function, userdata, thread, table]
| arg1_desc    = argument (1,2,...,n) description, including examples if so desired
| ret1_name    = return value (1,2,...,n) name
| ret1_type    = [nil, boolean, number, string, function, userdata, thread, table]
| ret1_desc    = return value (1,2,...,n) description, including examples if so desired
| notes        = notes
}}