Difference between revisions of "Template:Function wrapped"
From Vendetta Lua
Line 22: | Line 22: | ||
#if: {{{ret7_name|}}} |, {{Function_wrapped/component | {{{ret7_name|}}} | {{{ret7_type|}}}}} | }} {{ | #if: {{{ret7_name|}}} |, {{Function_wrapped/component | {{{ret7_name|}}} | {{{ret7_type|}}}}} | }} {{ | ||
#if: {{{ret8_name|}}} |, {{Function_wrapped/component | {{{ret8_name|}}} | {{{ret8_type|}}}}} | }} {{ | #if: {{{ret8_name|}}} |, {{Function_wrapped/component | {{{ret8_name|}}} | {{{ret8_type|}}}}} | }} {{ | ||
− | #if: {{{ret9_name|}}} |, {{Function_wrapped/component | {{{ret9_name|}}} | {{{ret9_type|}}}}} | | + | #if: {{{ret9_name|}}} |, {{Function_wrapped/component | {{{ret9_name|}}} | {{{ret9_type|}}}}} | }} |
− | + | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
| Description | | Description | ||
− | | {{{desc|} | + | | {{{desc|}}} |
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
Line 42: | Line 41: | ||
#if: {{{arg8_name|}}} | {{Function_wrapped/cb_data | {{{arg8_name|}}} | {{{arg8_type|}}} | {{{arg8_desc|}}} |#E5E5E5}} | }} {{ | #if: {{{arg8_name|}}} | {{Function_wrapped/cb_data | {{{arg8_name|}}} | {{{arg8_type|}}} | {{{arg8_desc|}}} |#E5E5E5}} | }} {{ | ||
#if: {{{arg9_name|}}} | {{Function_wrapped/cb_data | {{{arg9_name|}}} | {{{arg9_type|}}} | {{{arg9_desc|}}}}} | | #if: {{{arg9_name|}}} | {{Function_wrapped/cb_data | {{{arg9_name|}}} | {{{arg9_type|}}} | {{{arg9_desc|}}}}} | | ||
− | }} {{Function_wrapped/cb_end | + | }} {{Function_wrapped/cb_end}} |
− | + | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
Line 57: | Line 55: | ||
#if: {{{ret8_name|}}} | {{Function_wrapped/cb_data | {{{ret8_name|}}} | {{{ret8_type|}}} | {{{ret8_desc|}}} |#E5E5E5}} | }} {{ | #if: {{{ret8_name|}}} | {{Function_wrapped/cb_data | {{{ret8_name|}}} | {{{ret8_type|}}} | {{{ret8_desc|}}} |#E5E5E5}} | }} {{ | ||
#if: {{{ret9_name|}}} | {{Function_wrapped/cb_data | {{{ret9_name|}}} | {{{ret9_type|}}} | {{{ret9_desc|}}}}} | | #if: {{{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 10:05, 3 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 |