Difference between revisions of "Template:Native"
Jump to navigation
Jump to search
m (error?) |
|||
| Line 2: | Line 2: | ||
{{#if: {{{p1t|}}}|<tr><td>Parameter 1</td>{{#if: {{{p1t|}}}|<td>{{{p1t}}}</td>|<td></td>}}{{#if: {{{p1d|}}}|<td>{{{p1d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p2t|}}}|<tr><td>Parameter 2</td>{{#if: {{{p2t|}}}|<td>{{{p2t}}}</td>|<td></td>}} | {{#if: {{{p1t|}}}|<tr><td>Parameter 1</td>{{#if: {{{p1t|}}}|<td>{{{p1t}}}</td>|<td></td>}}{{#if: {{{p1d|}}}|<td>{{{p1d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p2t|}}}|<tr><td>Parameter 2</td>{{#if: {{{p2t|}}}|<td>{{{p2t}}}</td>|<td></td>}} | ||
{{#if: {{{p2d|}}}|<td>{{{p2d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p3t|}}}|<tr><td>Parameter 3</td>{{#if: {{{p3t|}}}|<td>{{{p3t}}}</td>|<td></td>}} | {{#if: {{{p2d|}}}|<td>{{{p2d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p3t|}}}|<tr><td>Parameter 3</td>{{#if: {{{p3t|}}}|<td>{{{p3t}}}</td>|<td></td>}} | ||
| − | {{#if: {{{p3d|}}}|<td>{{{p3d|}}}</td>|td></td>}}</tr>}}{{#if: {{{p4t|}}}|<tr><td>Parameter 4</td>{{#if: {{{p4t|}}}|<td>{{{p4t}}}</td>|<td></td>}} | + | {{#if: {{{p3d|}}}|<td>{{{p3d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p4t|}}}|<tr><td>Parameter 4</td>{{#if: {{{p4t|}}}|<td>{{{p4t}}}</td>|<td></td>}} |
{{#if: {{{p4d|}}}|<td>{{{p4d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p5t|}}}|<tr><td>Parameter 5</td>{{#if: {{{p5t|}}}|<td>{{{p5t}}}</td>|<td></td>}} | {{#if: {{{p4d|}}}|<td>{{{p4d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p5t|}}}|<tr><td>Parameter 5</td>{{#if: {{{p5t|}}}|<td>{{{p5t}}}</td>|<td></td>}} | ||
{{#if: {{{p5d|}}}|<td>{{{p5d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p6t|}}}|<tr><td>Parameter 6</td>{{#if: {{{p6t|}}}|<td>{{{p6t}}}</td>|<td></td>}} | {{#if: {{{p5d|}}}|<td>{{{p5d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p6t|}}}|<tr><td>Parameter 6</td>{{#if: {{{p6t|}}}|<td>{{{p6t}}}</td>|<td></td>}} | ||
Revision as of 15:04, 16 September 2010
| Number of parameters: {{{np}}} | ||||
|---|---|---|---|---|
| Result: | ||||
| Is present? | Type | Description | ||
| None | ||||
{{Native
|noheader = <use 1 if you dont want a table header; otherwise 0>
|np = <number of parameters>
|p1t = <parameter 1 type (integer, float, pointer, handle, boolean)
|p1d = <parameter 1 description
|p2t = <parameter 2 type (integer, float, pointer, handle, boolean)
|p2d = <parameter 2 description
|<other parameters if there are ones>
|r = <1 if function returns something, otherwise 0>
|rt = <result value type>
|rd = <result value description>
}}