Template:Function wrapped: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
There is currently not template code.  the following is only the structure in development.
There is currently not template code.  the following is only the structure in development.
<pre>
<pre>
=== {{{name}}} ===
'''Definition:'''<br />
{{{name}}}(
          {{#if:{{{arg1_name|}}}|{{{arg1_type|}}} {{{arg1_name|}}}|}}
          {{#if:{{{arg2_name|}}}|, {{{arg2_type|}}} {{{arg2_name|}}}|}}
          {{#if:{{{arg3_name|}}}|, {{{arg3_type|}}} {{{arg3_name|}}}|}}
          {{#if:{{{arg4_name|}}}|, {{{arg4_type|}}} {{{arg4_name|}}}|}}
          {{#if:{{{arg5_name|}}}|, {{{arg5_type|}}} {{{arg5_name|}}}|}}
          {{#if:{{{arg6_name|}}}|, {{{arg6_type|}}} {{{arg6_name|}}}|}}
          {{#if:{{{arg7_name|}}}|, {{{arg7_type|}}} {{{arg7_name|}}}|}}
          {{#if:{{{arg8_name|}}}|, {{{arg8_type|}}} {{{arg8_name|}}}|}}
          {{#if:{{{arg9_name|}}}|, {{{arg9_type|}}} {{{arg9_name|}}}|}}
          ) ->
          {{#if:{{{ret1_name|}}}|{{{ret1_type|}}} {{{ret1_name|}}}|}}
          {{#if:{{{ret2_name|}}}|, {{{ret2_type|}}} {{{ret2_name|}}}|}}
          {{#if:{{{ret3_name|}}}|, {{{ret3_type|}}} {{{ret3_name|}}}|}}
          {{#if:{{{ret4_name|}}}|, {{{ret4_type|}}} {{{ret4_name|}}}|}}
          {{#if:{{{ret5_name|}}}|, {{{ret5_type|}}} {{{ret5_name|}}}|}}
          {{#if:{{{ret6_name|}}}|, {{{ret6_type|}}} {{{ret6_name|}}}|}}
          {{#if:{{{ret7_name|}}}|, {{{ret7_type|}}} {{{ret7_name|}}}|}}
          {{#if:{{{ret8_name|}}}|, {{{ret8_type|}}} {{{ret8_name|}}}|}}
          {{#if:{{{ret9_name|}}}|, {{{ret9_type|}}} {{{ret9_name|}}}|}}
<br />
'''Description:'''<br />
{{{desc}}}
<br />
'''Arguments:'''<br />
{{#if:{{{arg1_name|}}}|''{{{arg1_name|}}}'' -- {{{arg1_desc|}}}<br />|}}
{{#if:{{{arg2_name|}}}|''{{{arg2_name|}}}'' -- {{{arg2_desc|}}}<br />|}}
{{#if:{{{arg3_name|}}}|''{{{arg3_name|}}}'' -- {{{arg3_desc|}}}<br />|}}
{{#if:{{{arg4_name|}}}|''{{{arg4_name|}}}'' -- {{{arg4_desc|}}}<br />|}}
{{#if:{{{arg5_name|}}}|''{{{arg5_name|}}}'' -- {{{arg5_desc|}}}<br />|}}
{{#if:{{{arg6_name|}}}|''{{{arg6_name|}}}'' -- {{{arg6_desc|}}}<br />|}}
{{#if:{{{arg7_name|}}}|''{{{arg7_name|}}}'' -- {{{arg7_desc|}}}<br />|}}
{{#if:{{{arg8_name|}}}|''{{{arg8_name|}}}'' -- {{{arg8_desc|}}}<br />|}}
{{#if:{{{arg9_name|}}}|''{{{arg9_name|}}}'' -- {{{arg9_desc|}}}<br />|}}
<br />
'''Returns:'''<br />
{{#if:{{{ret1_name|}}}|''{{{ret1_name|}}}'' -- {{{ret1_desc|}}}<br />|}}
{{#if:{{{ret2_name|}}}|''{{{ret2_name|}}}'' -- {{{ret2_desc|}}}<br />|}}
{{#if:{{{ret3_name|}}}|''{{{ret3_name|}}}'' -- {{{ret3_desc|}}}<br />|}}
{{#if:{{{ret4_name|}}}|''{{{ret4_name|}}}'' -- {{{ret4_desc|}}}<br />|}}
{{#if:{{{ret5_name|}}}|''{{{ret5_name|}}}'' -- {{{ret5_desc|}}}<br />|}}
{{#if:{{{ret6_name|}}}|''{{{ret6_name|}}}'' -- {{{ret6_desc|}}}<br />|}}
{{#if:{{{ret7_name|}}}|''{{{ret7_name|}}}'' -- {{{ret7_desc|}}}<br />|}}
{{#if:{{{ret8_name|}}}|''{{{ret8_name|}}}'' -- {{{ret8_desc|}}}<br />|}}
{{#if:{{{ret9_name|}}}|''{{{ret9_name|}}}'' -- {{{ret9_desc|}}}<br />|}}
<br />
'''Notes:'''<br />
{{{notes|}}}
</pre>
</pre>


Line 78: Line 28:
<includeonly>
<includeonly>
=== {{{name}}} ===
=== {{{name}}} ===
'''Definition:'''<br />
;Definition
{{{name|}}}({{
:{{{name|}}}({{
   #if: {{{arg1_name|}}} |  {{{arg1_type|}}} ''{{{arg1_name|}}}'' | }} {{
   #if: {{{arg1_name|}}} |  {{{arg1_type|}}} ''{{{arg1_name|}}}'' | }} {{
   #if: {{{arg2_name|}}} | , {{{arg2_type|}}} ''{{{arg2_name|}}}'' | }} {{
   #if: {{{arg2_name|}}} | , {{{arg2_type|}}} ''{{{arg2_name|}}}'' | }} {{
Line 99: Line 49:
   #if: {{{ret8_name|}}} | , {{{ret8_type|}}} ''{{{ret8_name|}}}'' | }} {{
   #if: {{{ret8_name|}}} | , {{{ret8_type|}}} ''{{{ret8_name|}}}'' | }} {{
   #if: {{{ret9_name|}}} | , {{{ret9_type|}}} ''{{{ret9_name|}}}'' |  
   #if: {{{ret9_name|}}} | , {{{ret9_type|}}} ''{{{ret9_name|}}}'' |  
}}<br />
}}
;Description:
;Description
:{{{desc|}}}
:{{{desc|}}}
<br />
;Arguments
;Arguments:
{{#if: {{{arg1_name|}}} | : {{{arg1_type|}}} ''{{{arg1_name|}}}'' -- {{{arg1_desc|}}} | }}
{{#if: {{{arg1_name|}}} | : {{{arg1_type|}}} ''{{{arg1_name|}}}'' -- {{{arg1_desc|}}} | }}
{{#if: {{{arg2_name|}}} | : {{{arg2_type|}}} ''{{{arg2_name|}}}'' -- {{{arg2_desc|}}} | }}
{{#if: {{{arg2_name|}}} | : {{{arg2_type|}}} ''{{{arg2_name|}}}'' -- {{{arg2_desc|}}} | }}
Line 113: Line 62:
{{#if: {{{arg8_name|}}} | : {{{arg8_type|}}} ''{{{arg8_name|}}}'' -- {{{arg8_desc|}}} | }}
{{#if: {{{arg8_name|}}} | : {{{arg8_type|}}} ''{{{arg8_name|}}}'' -- {{{arg8_desc|}}} | }}
{{#if: {{{arg9_name|}}} | : {{{arg9_type|}}} ''{{{arg9_name|}}}'' -- {{{arg9_desc|}}} | }}
{{#if: {{{arg9_name|}}} | : {{{arg9_type|}}} ''{{{arg9_name|}}}'' -- {{{arg9_desc|}}} | }}
<br />
;Returns
;Returns:
{{#if: {{{ret1_name|}}} | : {{{ret1_type|}}} ''{{{ret1_name|}}}'' -- {{{ret1_desc|}}} | }}
{{#if: {{{ret1_name|}}} | : {{{ret1_type|}}} ''{{{ret1_name|}}}'' -- {{{ret1_desc|}}} | }}
{{#if: {{{ret2_name|}}} | : {{{ret2_type|}}} ''{{{ret2_name|}}}'' -- {{{ret2_desc|}}} | }}
{{#if: {{{ret2_name|}}} | : {{{ret2_type|}}} ''{{{ret2_name|}}}'' -- {{{ret2_desc|}}} | }}
Line 124: Line 72:
{{#if: {{{ret8_name|}}} | : {{{ret8_type|}}} ''{{{ret8_name|}}}'' -- {{{ret8_desc|}}} | }}
{{#if: {{{ret8_name|}}} | : {{{ret8_type|}}} ''{{{ret8_name|}}}'' -- {{{ret8_desc|}}} | }}
{{#if: {{{ret9_name|}}} | : {{{ret9_type|}}} ''{{{ret9_name|}}}'' -- {{{ret9_desc|}}} | }}
{{#if: {{{ret9_name|}}} | : {{{ret9_type|}}} ''{{{ret9_name|}}}'' -- {{{ret9_desc|}}} | }}
<br />
;Notes
;Notes:
:{{{notes|}}}
:{{{notes|}}}
</includeonly>
</includeonly>

Revision as of 01:35, 31 March 2011

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( ) ->
Description
Function description
Arguments





Returns





Notes
notes