Template:Function wrapped: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->==={{{name}}}=== | -->==={{{name}}}=== | ||
{{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}}} }} | ||
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> |
Latest revision as of 06:10, 16 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
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 |