Difference between revisions of "Template:Property"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
(Created page with "<noinclude> Displays a property in the Properties table of Language Reference. <pre> {{Property | name = name of the property | type = type of the property | readonly = yes/no |...")
 
m (5 revisions imported)
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
| newinversion = version where this property first appeared
 
| newinversion = version where this property first appeared
 
| modifiedinversion = version where this property was modified
 
| modifiedinversion = version where this property was modified
 +
| version = current version of the class
 
}}
 
}}
 
</pre>
 
</pre>
Line 16: Line 17:
 
{{Property|name=Read only test|readonly=yes|description=(integer)  The current count}}
 
{{Property|name=Read only test|readonly=yes|description=(integer)  The current count}}
  
{{Property|name=Read/write test}}
+
{{Property|name=Read/write test|newinversion=1.2.3|version=1.2.3}}
  
 
{{Property|name=A mac-only property|maconly=yes}}
 
{{Property|name=A mac-only property|maconly=yes}}
 
   
 
   
</noinclude><includeonly>[[{{#if:{{{inherits|}}}|{{{inherits}}}.{{{name}}}|{{PAGENAME}}.{{{name}}}}}|<span title="{{{description|}}}">{{ #ifeq: {{{readonly}}} | yes | '''{{{name}}}'''|{{{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}}.{{{name}}}}}|<span title="({{{type}}}) {{{description|}}}">{{ #ifeq: {{{readonly}}} | yes | '''{{{name}}}'''|{{{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>

Latest revision as of 13:21, 6 August 2015

Displays a property in the Properties table of Language Reference.

{{Property
| name = name of the property
| type = type of the property
| readonly = yes/no
| platform = all/mac/win/linux
| description = short description of the property
| newinversion = version where this property first appeared
| modifiedinversion = version where this property was modified
| version = current version of the class
}}

Read only test

Read/write test   NEW 1.2.3

A mac-only property