Difference between revisions of "Template:Function wrapped"

From Vendetta Lua
Jump to: navigation, search
Line 58: Line 58:
 
Test 1a = [{{{test1}}}]
 
Test 1a = [{{{test1}}}]
 
Test 1b = [{{{test1|}}}]
 
Test 1b = [{{{test1|}}}]
Test 1c = [{{#if: {{{test1}}} | {{{test1}}} | }}]
+
Test 1c = [{{#if: {{{test1}}} | {{{test1}}}| }}]
Test 1d = [{{#if: {{{test1|}}} | {{{test1}}} | }}]
+
Test 1d = [{{#if: {{{test1|}}} | {{{test1}}}| }}]
 
Test 2a = [{{{test2}}}]
 
Test 2a = [{{{test2}}}]
 
Test 2b = [{{{test2|}}}]
 
Test 2b = [{{{test2|}}}]
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 3c =  [[{{#if: {{{test1}}} | {{{test1}}}| }}][{{#if: {{{test2}}} | {{{test2}}}| }}]]
Test 3d =  [[{{#if: {{{test1|}}} | {{{test1|}}} | }}][{{#if: {{{test2|}}} | {{{test2|}}} | }}]]
+
Test 3d =  [[{{#if: {{{test1|}}} | {{{test1|}}}| }}][{{#if: {{{test2|}}} | {{{test2|}}}| }}]]
 
</includeonly>
 
</includeonly>
  

Revision as of 23:49, 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

Definition

FunctionName( number  arg1,  string  arg2) ->  string  ret1,  table  ret2
Description

Function description
Arguments

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
Returns

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
Notes

notes