Template:VideoMethod
From OxeyeWiki
(Difference between revisions)
m (Offset error) |
|||
Line 13: | Line 13: | ||
|- | |- | ||
|colspan="3"| {{{4}}} | |colspan="3"| {{{4}}} | ||
- | |} | + | |} {{Video}} |
- | {{Video}} | + | |
<noinclude> | <noinclude> | ||
{{VideoMethod | | {{VideoMethod | |
Revision as of 18:33, 4 March 2009
{{{1}}} | ||
{{{2}}} | ||
Parameter | Expected Type | Description |
Returns | ||
{{{4}}} |
video.exampleMethod(x, y) | ||
This is an example usage of the VideoMethod template. Video methods should contain this template, with the paramters for method name, description, parameter list and return values, and then an example of how the method is used. | ||
Parameter | Expected Type | Description |
x | A number | This is a parameter using the MethodParam template. |
y | A number | Here's a second parameter. If a method has 0 parameters, you can use the NoParams template instead. |
Returns | ||
The fourth parameter is a description of the method's return value or values, if any. |