Difference between revisions of "Template:Property"
From Jeremie Leroy - XOJO Controls Wiki
Line 17: | 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|newinversion=1.2.3}} | + | {{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="({{{type}}}) {{{description|}}}">{{ #ifeq: {{{readonly}}} | yes | '''{{{name}}}'''|{{{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> | </noinclude><includeonly>[[{{#if:{{{inherits|}}}|{{{inherits}}}.{{{name}}}|{{PAGENAME}}.{{{name}}}}}|<span title="({{{type}}}) {{{description|}}}">{{ #ifeq: {{{readonly}}} | yes | '''{{{name}}}'''|{{{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:42, 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/write test NEW 1.2.3