Difference between revisions of "Template:Method"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
(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|}}}|{{CurrentVersion}}|&nbsp;&nbsp;<span style="color:green; font-size:80%; border: 1px solid green;"><span class="noLR">NEW </span>{{{newinversion}}} }} {{#ifeq:{{{modifiedinversion|}}}|{{CurrentVersion}}|&nbsp;&nbsp;<span style="color:green; font-size:80%; border: 1px dashed green;">MODIF {{{modifiedinversion}}} }}</includeonly>
+
</noinclude><includeonly>[[{{#if:{{{inherits|}}}|{{{inherits}}}.{{{name}}}|{{PAGENAME}}.{{#if:{{{link|}}}|{{{link}}}|{{{name}}} }} }}|<span title="{{{description|}}}">{{{name}}}</span>]] {{#ifeq:{{{newinversion|}}}|{{{version}}}|&nbsp;&nbsp;<span style="color:green; font-size:80%; border: 1px solid green;"><span class="noLR">NEW </span>{{{newinversion}}} }} {{#ifeq:{{{modifiedinversion|}}}|{{version}}|&nbsp;&nbsp;<span style="color:green; font-size:80%; border: 1px dashed green;">MODIF {{{modifiedinversion}}} }}</includeonly>

Revision as of 15: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)
}}

Child