Difference between revisions of "Template:Method"
From Jeremie Leroy - XOJO Controls Wiki
(Created page with "<noinclude> Displays a method in the Methods table of Language Reference. <pre> {{Method | name = name of the method | params = parameters | returntype = type returned, if any |...") |
m (2 revisions imported) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
| newinversion = version where this property first appeared (unused yet) | | newinversion = version where this property first appeared (unused yet) | ||
| modifiedinversion = version where this property was modified (unused yet) | | modifiedinversion = version where this property was modified (unused yet) | ||
| + | | version = current version of the class | ||
| link=use this if you need to override the actual target link (ie when there's a method & event with the same name like WebControl.Close) | | link=use this if you need to override the actual target link (ie when there's a method & event with the same name like WebControl.Close) | ||
}} | }} | ||
| Line 18: | Line 19: | ||
| − | </noinclude><includeonly>[[{{#if:{{{inherits|}}}|{{{inherits}}}.{{{name}}}|{{PAGENAME}}.{{#if:{{{link|}}}|{{{link}}}|{{{name}}} }} }}|<span title="{{{description|}}}">{{{name}}}</span>]] {{#ifeq:{{{newinversion|}}}|{{ | + | </noinclude><includeonly>[[{{#if:{{{inherits|}}}|{{{inherits}}}.{{{name}}}|{{PAGENAME}}.{{#if:{{{link|}}}|{{{link}}}|{{{name}}} }} }}|<span title="{{{description|}}}">{{{name}}}</span>]] {{#ifeq:{{{newinversion|}}}|{{{version}}}| <span style="color:green; font-size:80%; border: 1px solid green;"><span class="noLR">NEW </span>{{{newinversion}}} }} {{#ifeq:{{{modifiedinversion|}}}|{{version}}| <span style="color:green; font-size:80%; border: 1px dashed green;">MODIF {{{modifiedinversion}}} }}</includeonly> |
Latest revision as of 13:21, 6 August 2015
Displays a method in the Methods table of Language Reference.
{{Method
| name = name of the method
| params = parameters
| returntype = type returned, if any
| platform = all/mac/win/linux
| description = short description of the property
| newinversion = version where this property first appeared (unused yet)
| modifiedinversion = version where this property was modified (unused yet)
| version = current version of the class
| link=use this if you need to override the actual target link (ie when there's a method & event with the same name like WebControl.Close)
}}