{{!-- Reusable Table Section Component Parameters: - sectionType: 'pc', 'npc', 'loot', 'walls' - tokens: Array of token data - tableType: 'visibility', 'cover' - bulkActions: Optional bulk action buttons --}}
{{#if (eq sectionType 'pc')}} {{localize "PF2E_VISIONER.UI.PLAYER_CHARACTERS"}} {{else if (eq sectionType 'npc')}} {{localize "PF2E_VISIONER.UI.NPCS_LABEL"}} {{else if (eq sectionType 'loot')}} {{localize "PF2E_VISIONER.UI.LOOT_LABEL"}} {{else if (eq sectionType 'walls')}} {{localize "PF2E_VISIONER.UI.HIDDEN_WALLS_LABEL"}} {{/if}}
{{#if bulkActions}}
{{{bulkActions}}}
{{/if}}
{{#if (eq tableType 'visibility')}} {{> "pf2e-visioner.visibility-table" tokens=tokens sectionType=sectionType}} {{else if (eq tableType 'cover')}} {{> "pf2e-visioner.cover-table" tokens=tokens sectionType=sectionType}} {{/if}}