Difference between revisions of "Template:Function wrapped"
From Vendetta Lua
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->==={{{name|}}}=== | + | -->==={{{name|}}}===<!-- |
− | + | -->{{Function_wrapped/sub_start | |
− | + | | Definition | |
− | + | | {{{name|}}}({{ | |
− | + | #if: {{{arg1_name|}}} | {{Function_wrapped/component | {{{arg1_name|}}} | {{{arg1_type|}}}}} | }} {{ | |
− | + | #if: {{{arg2_name|}}} | , {{Function_wrapped/component | {{{arg2_name|}}} | {{{arg2_type|}}}}} | }} {{ | |
− | + | #if: {{{arg3_name|}}} | , {{Function_wrapped/component | {{{arg3_name|}}} | {{{arg3_type|}}}}} | }} {{ | |
− | + | #if: {{{arg4_name|}}} | , {{Function_wrapped/component | {{{arg4_name|}}} | {{{arg4_type|}}}}} | }} {{ | |
− | + | #if: {{{arg5_name|}}} | , {{Function_wrapped/component | {{{arg5_name|}}} | {{{arg5_type|}}}}} | }} {{ | |
− | + | #if: {{{arg6_name|}}} | , {{Function_wrapped/component | {{{arg6_name|}}} | {{{arg6_type|}}}}} | }} {{ | |
− | + | #if: {{{arg7_name|}}} | , {{Function_wrapped/component | {{{arg7_name|}}} | {{{arg7_type|}}}}} | }} {{ | |
− | + | #if: {{{arg8_name|}}} | , {{Function_wrapped/component | {{{arg8_name|}}} | {{{arg8_type|}}}}} | }} {{ | |
− | }}) -> {{ | + | #if: {{{arg9_name|}}} | , {{Function_wrapped/component | {{{arg9_name|}}} | {{{arg9_type|}}}}} | |
− | + | }}) -> {{ | |
− | + | #if: {{{ret1_name|}}} | {{Function_wrapped/component | {{{ret1_name|}}} | {{{ret1_type|}}}}} | }} {{ | |
− | + | #if: {{{ret2_name|}}} | , {{Function_wrapped/component | {{{ret2_name|}}} | {{{ret2_type|}}}}} | }} {{ | |
− | + | #if: {{{ret3_name|}}} | , {{Function_wrapped/component | {{{ret3_name|}}} | {{{ret3_type|}}}}} | }} {{ | |
− | + | #if: {{{ret4_name|}}} | , {{Function_wrapped/component | {{{ret4_name|}}} | {{{ret4_type|}}}}} | }} {{ | |
− | + | #if: {{{ret5_name|}}} | , {{Function_wrapped/component | {{{ret5_name|}}} | {{{ret5_type|}}}}} | }} {{ | |
− | + | #if: {{{ret6_name|}}} | , {{Function_wrapped/component | {{{ret6_name|}}} | {{{ret6_type|}}}}} | }} {{ | |
− | + | #if: {{{ret7_name|}}} | , {{Function_wrapped/component | {{{ret7_name|}}} | {{{ret7_type|}}}}} | }} {{ | |
− | + | #if: {{{ret8_name|}}} | , {{Function_wrapped/component | {{{ret8_name|}}} | {{{ret8_type|}}}}} | }} {{ | |
− | -->{{Function_wrapped/sub | + | #if: {{{ret9_name|}}} | , {{Function_wrapped/component | {{{ret9_name|}}} | {{{ret9_type|}}}}} | }} |
+ | }}<!-- | ||
+ | -->{{Function_wrapped/sub start | ||
| Description | | Description | ||
|{{{desc|}}} | |{{{desc|}}} |
Revision as of 02:16, 1 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 |