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 |...")
 
Line 20: Line 20:
 
{{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|}}}|{{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>

Revision as of 23:21, 29 April 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
}}

Read only test

Read/write test

A mac-only property