Difference between revisions of "Template:Function wrapped"
From Vendetta Lua
Line 74: | Line 74: | ||
| {{Function_wrapped/component | {{{arg9_name|}}} | {{{arg9_type|}}} | {{{arg9_desc|}}} }} | | {{Function_wrapped/component | {{{arg9_name|}}} | {{{arg9_type|}}} | {{{arg9_desc|}}} }} | ||
| }} | | }} | ||
− | }} | + | }}<!-- |
− | + | -->{{Function_wrapped/sub | |
− | {{ | + | | Returns |
+ | | {{ | ||
#if: {{{ret1_name|}}} | #if: {{{ret1_name|}}} | ||
| {{Function_wrapped/component | {{{ret1_name|}}} | {{{ret1_type|}}} | {{{ret1_desc|}}} }} | | {{Function_wrapped/component | {{{ret1_name|}}} | {{{ret1_type|}}} | {{{ret1_desc|}}} }} | ||
Line 104: | Line 105: | ||
| {{Function_wrapped/component | {{{ret9_name|}}} | {{{ret9_type|}}} | {{{ret9_desc|}}} }} | | {{Function_wrapped/component | {{{ret9_name|}}} | {{{ret9_type|}}} | {{{ret9_desc|}}} }} | ||
| }} | | }} | ||
− | + | }}<!-- | |
− | + | -->{{Function_wrapped/sub | |
− | </includeonly> | + | | Notes |
+ | | {{{notes|}}} | ||
+ | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{Function_wrapped/doc}} | {{Function_wrapped/doc}} | ||
</noinclude> | </noinclude> |
Revision as of 08:03, 31 March 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 |