Template:Function: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
No edit summary
No edit summary
Line 24: Line 24:
| arg1_type    = {{{arg1_type}}}
| arg1_type    = {{{arg1_type}}}
| arg1_desc    = {{{arg1_desc}}}
| arg1_desc    = {{{arg1_desc}}}
| arg2_name    = {{{arg2_name}}}
| arg2_type    = {{{arg2_type}}}
| arg2_desc    = {{{arg2_desc}}}
| arg3_name    = {{{arg3_name}}}
| arg3_type    = {{{arg3_type}}}
| arg3_desc    = {{{arg3_desc}}}
| arg4_name    = {{{arg4_name}}}
| arg4_type    = {{{arg4_type}}}
| arg4_desc    = {{{arg4_desc}}}
| arg5_name    = {{{arg5_name}}}
| arg5_type    = {{{arg5_type}}}
| arg5_desc    = {{{arg5_desc}}}
| arg6_name    = {{{arg6_name}}}
| arg6_type    = {{{arg6_type}}}
| arg6_desc    = {{{arg6_desc}}}
| arg7_name    = {{{arg7_name}}}
| arg7_type    = {{{arg7_type}}}
| arg7_desc    = {{{arg7_desc}}}
| arg8_name    = {{{arg8_name}}}
| arg8_type    = {{{arg8_type}}}
| arg8_desc    = {{{arg8_desc}}}
| arg9_name    = {{{arg9_name}}}
| arg9_type    = {{{arg9_type}}}
| arg9_desc    = {{{arg9_desc}}}
| ret1_name    = {{{ret1_name}}}
| ret1_name    = {{{ret1_name}}}
| ret1_type    = {{{ret1_type}}}
| ret1_type    = {{{ret1_type}}}
| ret1_desc    = {{{ret1_desc}}}
| ret1_desc    = {{{ret1_desc}}}
| ret2_name    = {{{ret2_name}}}
| ret2_type    = {{{ret2_type}}}
| ret2_desc    = {{{ret2_desc}}}
| ret3_name    = {{{ret3_name}}}
| ret3_type    = {{{ret3_type}}}
| ret3_desc    = {{{ret3_desc}}}
| ret4_name    = {{{ret4_name}}}
| ret4_type    = {{{ret4_type}}}
| ret4_desc    = {{{ret4_desc}}}
| ret5_name    = {{{ret5_name}}}
| ret5_type    = {{{ret5_type}}}
| ret5_desc    = {{{ret5_desc}}}
| ret6_name    = {{{ret6_name}}}
| ret6_type    = {{{ret6_type}}}
| ret6_desc    = {{{ret6_desc}}}
| ret7_name    = {{{ret7_name}}}
| ret7_type    = {{{ret7_type}}}
| ret7_desc    = {{{ret7_desc}}}
| ret8_name    = {{{ret8_name}}}
| ret8_type    = {{{ret8_type}}}
| ret8_desc    = {{{ret8_desc}}}
| ret9_name    = {{{ret9_name}}}
| ret9_type    = {{{ret9_type}}}
| ret9_desc    = {{{ret9_desc}}}
| notes        = {{{notes}}}
| notes        = {{{notes}}}
}}
}}
</includeonly>
</includeonly>

Revision as of 01:00, 31 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
}}