Difference between revisions of "Template:Function wrapped"
From Vendetta Lua
Line 25: | Line 25: | ||
| Description | | Description | ||
|{{{desc|}}} | |{{{desc|}}} | ||
− | }}<!-- | + | }}{{Function wrapped/sub end}}<!-- |
− | -->{{Function_wrapped/sub | + | -->{{Function_wrapped/sub start |
| Arguments | | Arguments | ||
| {{ | | {{ | ||
Line 38: | Line 38: | ||
#if: {{{arg8_name|}}} | {{Function_wrapped/component2 | {{{arg8_name|}}} | {{{arg8_type|}}} | {{{arg8_desc|}}} |#E5E5E5}} | }} {{ | #if: {{{arg8_name|}}} | {{Function_wrapped/component2 | {{{arg8_name|}}} | {{{arg8_type|}}} | {{{arg8_desc|}}} |#E5E5E5}} | }} {{ | ||
#if: {{{arg9_name|}}} | {{Function_wrapped/component2 | {{{arg9_name|}}} | {{{arg9_type|}}} | {{{arg9_desc|}}}}} | }} | #if: {{{arg9_name|}}} | {{Function_wrapped/component2 | {{{arg9_name|}}} | {{{arg9_type|}}} | {{{arg9_desc|}}}}} | }} | ||
− | }}<!-- | + | }}{{Function wrapped/sub end}}<!-- |
− | -->{{Function_wrapped/sub | + | -->{{Function_wrapped/sub start |
| Returns | | Returns | ||
| {{ | | {{ | ||
Line 51: | Line 51: | ||
#if: {{{ret8_name|}}} | {{Function_wrapped/component2 | {{{ret8_name|}}} | {{{ret8_type|}}} | {{{ret8_desc|}}} |#E5E5E5}} | }} {{ | #if: {{{ret8_name|}}} | {{Function_wrapped/component2 | {{{ret8_name|}}} | {{{ret8_type|}}} | {{{ret8_desc|}}} |#E5E5E5}} | }} {{ | ||
#if: {{{ret9_name|}}} | {{Function_wrapped/component2 | {{{ret9_name|}}} | {{{ret9_type|}}} | {{{ret9_desc|}}}}} | }} | #if: {{{ret9_name|}}} | {{Function_wrapped/component2 | {{{ret9_name|}}} | {{{ret9_type|}}} | {{{ret9_desc|}}}}} | }} | ||
− | }}<!-- | + | }}{{Function wrapped/sub end}}<!-- |
− | -->{{Function_wrapped/sub | + | -->{{Function_wrapped/sub start |
| Notes | | Notes | ||
| {{{notes|}}} | | {{{notes|}}} |
Revision as of 02:05, 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 |