Difference between revisions of "Template:Function wrapped"
From Vendetta Lua
Line 27: | Line 27: | ||
;Arguments | ;Arguments | ||
{{ | {{ | ||
− | #if: {{{arg1_name|}}} | | + | #if: {{{arg1_name|}}} | {{Function_wrapped/component | {{{arg1_name|}}} | {{{arg1_type|}}} | {{{arg1_desc|}}} }} | }} {{ |
#if: {{{arg2_name|}}} | : {{{arg2_type|}}} ''{{{arg2_name|}}}'' -- {{{arg2_desc|}}} | }} {{ | #if: {{{arg2_name|}}} | : {{{arg2_type|}}} ''{{{arg2_name|}}}'' -- {{{arg2_desc|}}} | }} {{ | ||
#if: {{{arg3_name|}}} | : {{{arg3_type|}}} ''{{{arg3_name|}}}'' -- {{{arg3_desc|}}} | }} {{ | #if: {{{arg3_name|}}} | : {{{arg3_type|}}} ''{{{arg3_name|}}}'' -- {{{arg3_desc|}}} | }} {{ |
Revision as of 06:29, 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 |