<tr class="property item{{#if access}} {{access}}{{/if}}{{#if deprecated}} deprecated{{/if}}{{#if extended_from}} inherited{{/if}}">

    <td style="width: 25%"><strong>{{name}}</strong></td>

    <td style="width: 15%">
        <span class="type">{{#crossLink type}}{{/crossLink}}</span>

        {{#if deprecated}}
            <span class="flag deprecated"{{#if deprecationMessage}} title="{{deprecationMessage}}"{{/if}}>deprecated</span>
        {{/if}}

        {{#if access}}
            <span class="flag {{access}}">{{access}}</span>
        {{/if}}

        {{#if final}}
            <span class="flag final">final</span>
        {{/if}}

        {{#if static}}
            <span class="flag static">static</span>
        {{/if}}
    </td>

    <td>
        <div class="description">
            {{{propertyDescription}}}
        </div>

        {{#if default}}
            <p class="default"><strong>Default:</strong> <span class="default-value">{{default}}</span></p>
        {{/if}}

        {{#example}}
            <div class="example">
                <h4>Example:</h4>

                <div class="example-content">
                    {{{.}}}
                </div>
            </div>
        {{/example}}

        {{#if subprops}}
            <h4>Sub-properties:</h4>

            <ul class="params-list">
                {{#subprops}}
                <li class="param">
                    {{#if optional}}
                        <code class="param-name optional">[{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]</code>
                        <span class="type">{{#crossLink type}}{{/crossLink}}</span>
                        <span class="flag optional" title="This property is optional.">optional</span>
                    {{else}}
                        <code class="param-name">{{name}}</code>
                        <span class="type">{{#crossLink type}}{{/crossLink}}</span>
                    {{/if}}

                    <div class="param-description">
                        {{{description}}}
                    </div>

                    {{#if subprops}}
                        <ul class="params-list">
                            {{#subprops}}
                            <li class="param">
                                {{#if optional}}
                                    <code class="param-name optional">[{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]</code>
                                    <span class="type">{{#crossLink type}}{{/crossLink}}</span>
                                    <span class="flag optional" title="This property is optional.">optional</span>
                                {{else}}
                                    <code class="param-name">{{name}}</code>
                                    <span class="type">{{#crossLink type}}{{/crossLink}}</span>
                                {{/if}}

                                <div class="param-description">
                                    {{{description}}}
                                </div>
                            </li>
                            {{/subprops}}
                        </ul>
                    {{/if}}
                </li>
                {{/subprops}}
            </ul>
        {{/if}}
    </td>
</tr>
