User:Draugath: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
| arg2_type = string | | arg2_type = string | ||
| arg2_desc = argument (1,2,...,n) description, including examples if so desired | | arg2_desc = argument (1,2,...,n) description, including examples if so desired | ||
| arg3_name = arg3 | |||
| arg3_type = string | |||
| arg3_desc = argument (1,2,...,n) description, including examples if so desired | |||
| ret1_name = ret1 | | ret1_name = ret1 | ||
| ret1_type = string | | ret1_type = string | ||
Line 39: | Line 42: | ||
| arg2_type = string | | arg2_type = string | ||
| arg2_desc = argument (1,2,...,n) description, including examples if so desired | | arg2_desc = argument (1,2,...,n) description, including examples if so desired | ||
| arg3_name = arg3 | |||
| arg3_type = string | |||
| arg3_desc = argument (1,2,...,n) description, including examples if so desired | |||
| ret1_name = ret1 | | ret1_name = ret1 | ||
| ret1_type = string | | ret1_type = string |
Revision as of 06:21, 31 March 2011
I'm going to be working on a series of Templates for easing the creation of function entries and producing identical results across all function entries.
Template:Function
This template will be the top-level wrapper template that handles input and passing of information.
Template:Function
Template:Function_wrapped
This template will initially be the one that provides the final output. More templates may be created later.
Template:Function_wrapped
Example
{{Function | name = FunctionName | desc = Function description | arg1_name = arg1 | arg1_type = number | arg1_desc = argument (1,2,...,n) description, including examples if so desired | arg2_name = arg2 | arg2_type = string | arg2_desc = argument (1,2,...,n) description, including examples if so desired | arg3_name = arg3 | arg3_type = string | arg3_desc = argument (1,2,...,n) description, including examples if so desired | ret1_name = ret1 | ret1_type = string | ret1_desc = return value (1,2,...,n) description, including examples if so desired | ret2_name = ret2 | ret2_type = table | ret2_desc = return value (1,2,...,n) description, including examples if so desired | notes = notes }}
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 |
string | arg3 | 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 |