Template:Function wrapped: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
-->==={{{name}}}=== | -->==={{{name}}}=== | ||
<dl>{{Function_wrapped/sub_start | <dl>{{Function_wrapped/sub_start | ||
|Definition | | Definition | ||
| {{Function/definition | name={{{name}}} | arg_list={{{arg_list}}} | ret_list={{{ret_list}}} }} | | {{Function/definition | name={{{name}}} | arg_list={{{arg_list}}} | ret_list={{{ret_list}}} }} | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
| Description | | Description | ||
|{{{desc}}} | | {{{desc}}} | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start |
Revision as of 05:43, 15 January 2012
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