Template:Function

From Vendetta Lua
Revision as of 01:00, 31 March 2011 by Draugath (talk | contribs)
Jump to navigationJump to search

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
}}