{f:if(condition: '{item.disabled} && {item.context.drawingConfiguration.showHidden} == 0', then: 'height: 0; display: none;') -> f:variable(name: 'style')}
<div
    role="group"
    aria-labelledby="element-{item.table}-{item.record.uid}-label"
    class="t3-page-ce {item.wrapperClassName} t3js-page-ce t3js-page-ce-sortable"
    id="element-{item.table}-{item.record.uid}"
    data-table="{item.table}"
    data-uid="{item.record.uid}"
    data-language-uid="{item.record.sys_language_uid}"
    data-move-element-url="{f:be.uri(route: 'move_element', parameters: '{uid: item.record.uid, originalPid: item.record.pid, expandPage: item.record.pid, returnUrl: context.returnUrl}')}"
    style="{style}"
>
    <span id="element-{item.table}-{item.record.uid}-label" class="visually-hidden">id={item.record.uid} - <f:if condition="{item.record.header}">{item.record.header} - </f:if>{item.contentTypeLabel}</span>
    <div class="t3-page-ce-element t3-page-ce-dragitem">
        <f:render partial="PageLayout/Record/{item.record.CType}/Header" arguments="{_all}" optional="1">
            <f:render partial="PageLayout/RecordDefault/Header" arguments="{_all}" />
        </f:render>
        <f:spaceless>
            <div class="t3-page-ce-body">
                <f:render partial="PageLayout/RecordDefault/Preview" arguments="{_all}" />
            </div>
        </f:spaceless>
        <f:render partial="PageLayout/Record/{item.record.CType}/Footer" arguments="{_all}" optional="1">
            <f:render partial="PageLayout/RecordDefault/Footer" arguments="{_all}" />
        </f:render>
        <f:if condition="{item.inconsistentLanguage}">
            <div class="t3-page-ce-footer">
                <span class="badge badge-warning">{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.inconsistentLanguageWarning')}</span>
            </div>
        </f:if>
    </div>
    <f:if condition="{allowEditContent} && {item.column.contentEditable} && {item.column.allowNewContent} && {column.active}">
        <f:if condition="{column.newContentElementWizardShouldBeSkipped}">
            <f:then>
                <div class="t3-page-ce-actions t3js-page-new-ce">
                    <a href="{item.newContentAfterUrl}" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}" class="btn btn-default btn-sm">
                        <core:icon identifier="actions-plus" />
                        <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:createNewContent" />
                    </a>
                </div>
            </f:then>
            <f:else>
                <f:render partial="PageLayout/ActionControls" arguments="{url: item.newContentAfterUrl}" />
            </f:else>
        </f:if>
    </f:if>
    <div class="t3-page-ce-dropzone t3js-page-ce-dropzone-available" hidden></div>
</div>
