Template:Function wrapped: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(79 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->==={{{name | -->==={{{name}}}=== | ||
{{Function_wrapped/sub_start | |||
| Definition | |||
| {{Function/definition | name={{{name}}} | arg_list={{{arg_list}}} | ret_list={{{ret_list}}} }} | |||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/ | -->{{Function_wrapped/sub_start | ||
| Description | | Description | ||
|{{{desc | |{{{desc}}} | ||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/ | -->{{Function_wrapped/sub_start | ||
| Arguments | | Arguments | ||
| {{ | | {{Function_wrapped/cbox | ||
| {{#explode: {{{arg_list}}} |//| 0}} | {{#explode: {{{arg_list}}} |//| 1}} | {{#explode: {{{arg_list}}} |//| 2}} | {{#explode: {{{arg_list}}} |//| 3}} | |||
| {{#explode: {{{arg_list}}} |//| 4}} | {{#explode: {{{arg_list}}} |//| 5}} | {{#explode: {{{arg_list}}} |//| 6}} | {{#explode: {{{arg_list}}} |//| 7}} | |||
| | | {{#explode: {{{arg_list}}} |//| 8}} | {{#explode: {{{arg_list}}} |//| 9}} | {{#explode: {{{arg_list}}} |//| 10}} | {{#explode: {{{arg_list}}} |//| 11}} | ||
| {{#explode: {{{arg_list}}} |//| 12}} | {{#explode: {{{arg_list}}} |//| 13}} | {{#explode: {{{arg_list}}} |//| 14}} | {{#explode: {{{arg_list}}} |//| 15}} | |||
| {{#explode: {{{arg_list}}} |//| 16}} | {{#explode: {{{arg_list}}} |//| 17}} | {{#explode: {{{arg_list}}} |//| 18}} | {{#explode: {{{arg_list}}} |//| 19}} | |||
| | | {{#explode: {{{arg_list}}} |//| 20}} | {{#explode: {{{arg_list}}} |//| 21}} | {{#explode: {{{arg_list}}} |//| 22}} | {{#explode: {{{arg_list}}} |//| 23}} | ||
| {{#explode: {{{arg_list}}} |//| 24}} | {{#explode: {{{arg_list}}} |//| 25}} | {{#explode: {{{arg_list}}} |//| 26}} | {{#explode: {{{arg_list}}} |//| 27}} | |||
| {{#explode: {{{arg_list}}} |//| 28}} | {{#explode: {{{arg_list}}} |//| 29}} | {{#explode: {{{arg_list}}} |//| 30}} | {{#explode: {{{arg_list}}} |//| 31}} | |||
| | | {{#explode: {{{arg_list}}} |//| 32}} | {{#explode: {{{arg_list}}} |//| 33}} | {{#explode: {{{arg_list}}} |//| 34}} | {{#explode: {{{arg_list}}} |//| 35}} | ||
}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/ | -->{{Function_wrapped/sub_start | ||
| Returns | | Returns | ||
| {{ | | {{Function_wrapped/cbox | ||
| {{#explode: {{{ret_list}}} |//| 0}} | {{#explode: {{{ret_list}}} |//| 1}} | {{#explode: {{{ret_list}}} |//| 2}} | | |||
| {{#explode: {{{ret_list}}} |//| 4}} | {{#explode: {{{ret_list}}} |//| 5}} | {{#explode: {{{ret_list}}} |//| 6}} | | |||
| | | {{#explode: {{{ret_list}}} |//| 8}} | {{#explode: {{{ret_list}}} |//| 9}} | {{#explode: {{{ret_list}}} |//| 10}} | | ||
| {{#explode: {{{ret_list}}} |//| 12}} | {{#explode: {{{ret_list}}} |//| 13}} | {{#explode: {{{ret_list}}} |//| 14}} | | |||
| {{#explode: {{{ret_list}}} |//| 16}} | {{#explode: {{{ret_list}}} |//| 17}} | {{#explode: {{{ret_list}}} |//| 18}} | | |||
| | | {{#explode: {{{ret_list}}} |//| 20}} | {{#explode: {{{ret_list}}} |//| 21}} | {{#explode: {{{ret_list}}} |//| 22}} | | ||
| {{#explode: {{{ret_list}}} |//| 24}} | {{#explode: {{{ret_list}}} |//| 25}} | {{#explode: {{{ret_list}}} |//| 26}} | | |||
| {{#explode: {{{ret_list}}} |//| 28}} | {{#explode: {{{ret_list}}} |//| 29}} | {{#explode: {{{ret_list}}} |//| 30}} | | |||
| | | {{#explode: {{{ret_list}}} |//| 32}} | {{#explode: {{{ret_list}}} |//| 33}} | {{#explode: {{{ret_list}}} |//| 34}} | | ||
}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}}<!-- | }}<!-- | ||
-->{{Function_wrapped/ | -->{{Function_wrapped/sub_start | ||
| Notes | | Notes | ||
| {{{notes | | {{{notes}}} | ||
}}</includeonly> | }} | ||
{{#if:{{NAMESPACE}}||[[Category:Functions]]}}</includeonly> | |||
<noinclude> | <noinclude> | ||
{{Function_wrapped/doc}} | {{Function_wrapped/doc}} | ||
</noinclude> | </noinclude> |
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 |