|
|
Line 3: |
Line 3: |
| <dl>{{Function_wrapped/sub_start | | <dl>{{Function_wrapped/sub_start |
| | Definition | | | Definition |
− | |{{{name}}}({{ | + | | {{Function/definition | {{{name}}} | {{{arg_list}}} | {{{ret_list}}} }} |
− | Function_wrapped/component | {{{arg1_name}}}| {{{arg1_type}}}| {{{arg1_opt}}}|}}{{
| + | |
− | Function_wrapped/component | {{{arg2_name}}}| {{{arg2_type}}}| {{{arg2_opt}}}| x}}{{
| + | |
− | Function_wrapped/component | {{{arg3_name}}}| {{{arg3_type}}}| {{{arg3_opt}}}| x}}{{
| + | |
− | Function_wrapped/component | {{{arg4_name}}}| {{{arg4_type}}}| {{{arg4_opt}}}| x}}{{
| + | |
− | Function_wrapped/component | {{{arg5_name}}}| {{{arg5_type}}}| {{{arg5_opt}}}| x}}{{
| + | |
− | Function_wrapped/component | {{{arg6_name}}}| {{{arg6_type}}}| {{{arg6_opt}}}| x}}{{
| + | |
− | Function_wrapped/component | {{{arg7_name}}}| {{{arg7_type}}}| {{{arg7_opt}}}| x}}{{
| + | |
− | Function_wrapped/component | {{{arg8_name}}}| {{{arg8_type}}}| {{{arg8_opt}}}| x}}{{
| + | |
− | Function_wrapped/component | {{{arg9_name}}}| {{{arg9_type}}}| {{{arg9_opt}}}| x
| + | |
− | }}) -> {{
| + | |
− | Function_wrapped/component | {{{ret1_name}}}| {{{ret1_type}}}||}}{{
| + | |
− | Function_wrapped/component | {{{ret2_name}}}| {{{ret2_type}}}|| x}}{{
| + | |
− | Function_wrapped/component | {{{ret3_name}}}| {{{ret3_type}}}|| x}}{{
| + | |
− | Function_wrapped/component | {{{ret4_name}}}| {{{ret4_type}}}|| x}}{{
| + | |
− | Function_wrapped/component | {{{ret5_name}}}| {{{ret5_type}}}|| x}}{{
| + | |
− | Function_wrapped/component | {{{ret6_name}}}| {{{ret6_type}}}|| x}}{{
| + | |
− | Function_wrapped/component | {{{ret7_name}}}| {{{ret7_type}}}|| x}}{{
| + | |
− | Function_wrapped/component | {{{ret8_name}}}| {{{ret8_type}}}|| x}}{{
| + | |
− | Function_wrapped/component | {{{ret9_name}}}| {{{ret9_type}}}|| x}}
| + | |
| }}<!-- | | }}<!-- |
| -->{{Function_wrapped/sub_start | | -->{{Function_wrapped/sub_start |
Revision as of 04:11, 7 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
Definition
FunctionName( number arg1, string arg2) -> string ret1, table ret2 Description
Function description Arguments
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 |
Returns
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 |
Notes
notes