Template:Function wrapped: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
| Description | | Description | ||
| {{{desc}}} | |{{{desc}}} | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/sub_start | -->{{Function_wrapped/sub_start | ||
Line 40: | Line 40: | ||
| Notes | | Notes | ||
| {{{notes}}} | | {{{notes}}} | ||
}} | }} | ||
{{#if:{{NAMESPACE}}||[[Category:Functions]]}}</includeonly> | {{#if:{{NAMESPACE}}||[[Category:Functions]]}}</includeonly> |
Revision as of 06:07, 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