Difference between revisions of "Template:Function wrapped"
From Vendetta Lua
Line 64: | Line 64: | ||
Test 2c = [{{#if: {{{test2}}} | {{{test2}}} | }}] | Test 2c = [{{#if: {{{test2}}} | {{{test2}}} | }}] | ||
Test 2d = [{{#if: {{{test2|}}} | {{{test2}}} | }}] | Test 2d = [{{#if: {{{test2|}}} | {{{test2}}} | }}] | ||
+ | Test 3c = [{{#if: {{{test1}}} | {{{test1}}} | }}{{#if: {{{test2}}} | {{{test2}}} | }}] | ||
+ | Test 3d = [{{#if: {{{test1|}}} | {{{test1|}}} | }}{{#if: {{{test2|}}} | {{{test2|}}} | }}] | ||
</includeonly> | </includeonly> | ||
Revision as of 23:45, 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 |