Template:Function wrapped: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->==={{{name | -->==={{{name}}}=== | ||
<dl>{{Function_wrapped/sub_start | <dl>{{Function_wrapped/sub_start | ||
| Definition | | Definition | ||
|{{{name | |{{{name}}}({{ | ||
Function_wrapped/component | {{{arg1_name | Function_wrapped/component | {{{arg1_name}}} | {{{arg1_type}}} | {{{arg1_opt}}} |}} {{ | ||
Function_wrapped/component | {{{arg2_name | Function_wrapped/component | {{{arg2_name}}} | {{{arg2_type}}} | {{{arg2_opt}}} | x}} {{ | ||
Function_wrapped/component | {{{arg3_name | Function_wrapped/component | {{{arg3_name}}} | {{{arg3_type}}} | {{{arg3_opt}}} | x}} {{ | ||
Function_wrapped/component | {{{arg4_name | Function_wrapped/component | {{{arg4_name}}} | {{{arg4_type}}} | {{{arg4_opt}}} | x}} {{ | ||
Function_wrapped/component | {{{arg5_name | Function_wrapped/component | {{{arg5_name}}} | {{{arg5_type}}} | {{{arg5_opt}}} | x}} {{ | ||
Function_wrapped/component | {{{arg6_name | Function_wrapped/component | {{{arg6_name}}} | {{{arg6_type}}} | {{{arg6_opt}}} | x}} {{ | ||
Function_wrapped/component | {{{arg7_name | Function_wrapped/component | {{{arg7_name}}} | {{{arg7_type}}} | {{{arg7_opt}}} | x}} {{ | ||
Function_wrapped/component | {{{arg8_name | Function_wrapped/component | {{{arg8_name}}} | {{{arg8_type}}} | {{{arg8_opt}}} | x}} {{ | ||
Function_wrapped/component | {{{arg9_name | Function_wrapped/component | {{{arg9_name}}} | {{{arg9_type}}} | {{{arg9_opt}}} | x | ||
}}) -> {{ | }}) -> {{ | ||
Function_wrapped/component | {{{ret1_name | Function_wrapped/component | {{{ret1_name}}} | {{{ret1_type}}} ||}} {{ | ||
Function_wrapped/component | {{{ret2_name | Function_wrapped/component | {{{ret2_name}}} | {{{ret2_type}}} || x}} {{ | ||
Function_wrapped/component | {{{ret3_name | Function_wrapped/component | {{{ret3_name}}} | {{{ret3_type}}} || x}} {{ | ||
Function_wrapped/component | {{{ret4_name | Function_wrapped/component | {{{ret4_name}}} | {{{ret4_type}}} || x}} {{ | ||
Function_wrapped/component | {{{ret5_name | Function_wrapped/component | {{{ret5_name}}} | {{{ret5_type}}} || x}} {{ | ||
Function_wrapped/component | {{{ret6_name | Function_wrapped/component | {{{ret6_name}}} | {{{ret6_type}}} || x}} {{ | ||
Function_wrapped/component | {{{ret7_name | Function_wrapped/component | {{{ret7_name}}} | {{{ret7_type}}} || x}} {{ | ||
Function_wrapped/component | {{{ret8_name | Function_wrapped/component | {{{ret8_name}}} | {{{ret8_type}}} || x}} {{ | ||
Function_wrapped/component | {{{ret9_name | Function_wrapped/component | {{{ret9_name}}} | {{{ret9_type}}} || x}} | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
| Description | | Description | ||
|{{{desc | |{{{desc}}} | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
Line 32: | Line 32: | ||
|{{ | |{{ | ||
Function_wrapped/cb_start}} {{ | Function_wrapped/cb_start}} {{ | ||
Function_wrapped/cb_data | {{{arg1_name | Function_wrapped/cb_data | {{{arg1_name}}} | {{{arg1_type}}} | {{{arg1_desc}}} | {{{arg1_opt}}}}} {{ | ||
Function_wrapped/cb_data | {{{arg2_name | Function_wrapped/cb_data | {{{arg2_name}}} | {{{arg2_type}}} | {{{arg2_desc}}} | {{{arg2_opt}}} |#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{arg3_name | Function_wrapped/cb_data | {{{arg3_name}}} | {{{arg3_type}}} | {{{arg3_desc}}} | {{{arg3_opt}}}}} {{ | ||
Function_wrapped/cb_data | {{{arg4_name | Function_wrapped/cb_data | {{{arg4_name}}} | {{{arg4_type}}} | {{{arg4_desc}}} | {{{arg4_opt}}} |#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{arg5_name | Function_wrapped/cb_data | {{{arg5_name}}} | {{{arg5_type}}} | {{{arg5_desc}}} | {{{arg5_opt}}}}} {{ | ||
Function_wrapped/cb_data | {{{arg6_name | Function_wrapped/cb_data | {{{arg6_name}}} | {{{arg6_type}}} | {{{arg6_desc}}} | {{{arg6_opt}}} |#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{arg7_name | Function_wrapped/cb_data | {{{arg7_name}}} | {{{arg7_type}}} | {{{arg7_desc}}} | {{{arg7_opt}}}}} {{ | ||
Function_wrapped/cb_data | {{{arg8_name | Function_wrapped/cb_data | {{{arg8_name}}} | {{{arg8_type}}} | {{{arg8_desc}}} | {{{arg8_opt}}} |#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{arg9_name | Function_wrapped/cb_data | {{{arg9_name}}} | {{{arg9_type}}} | {{{arg9_desc}}} | {{{arg9_opt}}} | ||
}} {{Function_wrapped/cb_end}} | }} {{Function_wrapped/cb_end}} | ||
}}<!-- | }}<!-- | ||
Line 46: | Line 46: | ||
| Returns | | Returns | ||
| {{Function_wrapped/cb_start}} {{ | | {{Function_wrapped/cb_start}} {{ | ||
Function_wrapped/cb_data | {{{ret1_name | Function_wrapped/cb_data | {{{ret1_name}}} | {{{ret1_type}}} | {{{ret1_desc}}}| }} {{ | ||
Function_wrapped/cb_data | {{{ret2_name | Function_wrapped/cb_data | {{{ret2_name}}} | {{{ret2_type}}} | {{{ret2_desc}}} ||#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{ret3_name | Function_wrapped/cb_data | {{{ret3_name}}} | {{{ret3_type}}} | {{{ret3_desc}}}| }} {{ | ||
Function_wrapped/cb_data | {{{ret4_name | Function_wrapped/cb_data | {{{ret4_name}}} | {{{ret4_type}}} | {{{ret4_desc}}} ||#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{ret5_name | Function_wrapped/cb_data | {{{ret5_name}}} | {{{ret5_type}}} | {{{ret5_desc}}}| }} {{ | ||
Function_wrapped/cb_data | {{{ret6_name | Function_wrapped/cb_data | {{{ret6_name}}} | {{{ret6_type}}} | {{{ret6_desc}}} ||#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{ret7_name | Function_wrapped/cb_data | {{{ret7_name}}} | {{{ret7_type}}} | {{{ret7_desc}}}| }} {{ | ||
Function_wrapped/cb_data | {{{ret8_name | Function_wrapped/cb_data | {{{ret8_name}}} | {{{ret8_type}}} | {{{ret8_desc}}} ||#E5E5E5}} {{ | ||
Function_wrapped/cb_data | {{{ret9_name | Function_wrapped/cb_data | {{{ret9_name}}} | {{{ret9_type}}} | {{{ret9_desc}}}| | ||
}} {{Function_wrapped/cb_end}} | }} {{Function_wrapped/cb_end}} | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
| Notes | | Notes | ||
| {{{notes | | {{{notes}}} | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 08:56, 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
- Definition
- FunctionName( {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}}) -> {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}} {{{list}}}
- Description
- Function description
- Arguments
Type Name Description {{{arg1_type}}} {{{arg1_name}}} {{{arg1_desc}}} (optional) {{{arg2_type}}} {{{arg2_name}}} {{{arg2_desc}}} (optional) {{{arg3_type}}} {{{arg3_name}}} {{{arg3_desc}}} (optional) {{{arg4_type}}} {{{arg4_name}}} {{{arg4_desc}}} (optional) {{{arg5_type}}} {{{arg5_name}}} {{{arg5_desc}}} (optional) {{{arg6_type}}} {{{arg6_name}}} {{{arg6_desc}}} (optional) {{{arg7_type}}} {{{arg7_name}}} {{{arg7_desc}}} (optional) {{{arg8_type}}} {{{arg8_name}}} {{{arg8_desc}}} (optional) {{{arg9_type}}} {{{arg9_name}}} {{{arg9_desc}}} (optional) - Returns
-
Type Name Description {{{ret1_type}}} {{{ret1_name}}} {{{ret1_desc}}} {{{ret2_type}}} {{{ret2_name}}} {{{ret2_desc}}} {{{ret3_type}}} {{{ret3_name}}} {{{ret3_desc}}} {{{ret4_type}}} {{{ret4_name}}} {{{ret4_desc}}} {{{ret5_type}}} {{{ret5_name}}} {{{ret5_desc}}} {{{ret6_type}}} {{{ret6_name}}} {{{ret6_desc}}} {{{ret7_type}}} {{{ret7_name}}} {{{ret7_desc}}} {{{ret8_type}}} {{{ret8_name}}} {{{ret8_desc}}} {{{ret9_type}}} {{{ret9_name}}} {{{ret9_desc}}} - Notes
- notes