Difference between revisions of "Template:Property"
From Jeremie Leroy - XOJO Controls Wiki
Line 16: | Line 16: | ||
{{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}} |
{{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}}| <span style="color:green; font-size:80%; border: 1px solid green;"><span class="noLR">NEW </span>{{{newinversion}}} }} {{#ifeq:{{{modifiedinversion|}}}|{{CurrentVersion}}| <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|}}}|{{CurrentVersion}}| <span style="color:green; font-size:80%; border: 1px solid green;"><span class="noLR">NEW </span>{{{newinversion}}}| <span style="color:green; font-size:80%; border: 1px solid green;"><span class="noLR">NEW </span>{{{newinversion}}} }} {{#ifeq:{{{modifiedinversion|}}}|{{CurrentVersion}}| <span style="color:green; font-size:80%; border: 1px dashed green;">MODIF {{{modifiedinversion}}} }}</includeonly> |
Revision as of 12:35, 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 }}