Difference between revisions of "Template:Function wrapped"
From Vendetta Lua
Line 30: | Line 30: | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
| Arguments | | Arguments | ||
− | |{{ | + | | {{Function_wrapped/cbox |
− | + | | {{{arg1_name|}}} | {{{arg1_type|}}} | {{{arg1_desc|}}} | {{{arg1_opt|}}} | |
− | + | | {{{arg2_name|}}} | {{{arg2_type|}}} | {{{arg2_desc|}}} | {{{arg2_opt|}}} | |
− | + | | {{{arg3_name|}}} | {{{arg3_type|}}} | {{{arg3_desc|}}} | {{{arg3_opt|}}} | |
− | + | | {{{arg4_name|}}} | {{{arg4_type|}}} | {{{arg4_desc|}}} | {{{arg4_opt|}}} | |
− | + | | {{{arg5_name|}}} | {{{arg5_type|}}} | {{{arg5_desc|}}} | {{{arg5_opt|}}} | |
− | + | | {{{arg6_name|}}} | {{{arg6_type|}}} | {{{arg6_desc|}}} | {{{arg6_opt|}}} | |
− | + | | {{{arg7_name|}}} | {{{arg7_type|}}} | {{{arg7_desc|}}} | {{{arg7_opt|}}} | |
− | + | | {{{arg8_name|}}} | {{{arg8_type|}}} | {{{arg8_desc|}}} | {{{arg8_opt|}}} | |
− | + | | {{{arg9_name|}}} | {{{arg9_type|}}} | {{{arg9_desc|}}} | {{{arg9_opt|}}} | |
− | + | }} | |
− | + | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
| Returns | | Returns | ||
− | | {{Function_wrapped/ | + | | {{Function_wrapped/cbox |
− | + | | {{{ret1_name|}}} | {{{ret1_type|}}} | {{{ret1_desc|}}} | | |
− | + | | {{{ret2_name|}}} | {{{ret2_type|}}} | {{{ret2_desc|}}} | | |
− | + | | {{{ret3_name|}}} | {{{ret3_type|}}} | {{{ret3_desc|}}} | | |
− | + | | {{{ret4_name|}}} | {{{ret4_type|}}} | {{{ret4_desc|}}} | | |
− | + | | {{{ret5_name|}}} | {{{ret5_type|}}} | {{{ret5_desc|}}} | | |
− | + | | {{{ret6_name|}}} | {{{ret6_type|}}} | {{{ret6_desc|}}} | | |
− | + | | {{{ret7_name|}}} | {{{ret7_type|}}} | {{{ret7_desc|}}} | | |
− | + | | {{{ret8_name|}}} | {{{ret8_type|}}} | {{{ret8_desc|}}} | | |
− | + | | {{{ret9_name|}}} | {{{ret9_type|}}} | {{{ret9_desc|}}} | | |
− | + | }} | |
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start |
Revision as of 09:08, 5 April 2011
This template is intended to have it's parameters filled by Template:Function. This template shouldn't be called directly. There is currently not template code. the following is only the structure in development.
Example
FunctionName
Type | Name | Description |
---|---|---|
number | arg1 | argument (1,2,...,n) description, including examples if so desired |
string | arg2 | argument (1,2,...,n) description, including examples if so desired |
Type | Name | Description |
---|---|---|
string | ret1 | return value (1,2,...,n) description, including examples if so desired |
table | ret2 | return value (1,2,...,n) description, including examples if so desired |