Difference between revisions of "Template:Property"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
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 20: Line 21:
 
{{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="({{{type}}}) {{{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}}}|&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>

Revision as of 14:41, 2 May 2012

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

A mac-only property