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 |...") |
|||
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> |
Revision as of 14:41, 2 May 2012
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) }}