   <div class="section" style="width: 58%; margin: 5px; min-width: 435px;">
    <div class="section-head">
     <h2 class="section-title">{{ localize 'shadowrun6.section.weapon.ranged' }}</h2>
     <a class="item-control weapon-create" title="{{localize 'shadowrun6.section.weapon.add' }}"><h2 class="fas fa-plus"></h2></a>
    </div>
      <table>
        {{#each actor.itemTypes.gear as |item id|}}
        {{#if (or (eq item.system.type "WEAPON_FIREARMS") (eq item.system.type "WEAPON_RANGED"))}}
        <tr class="item" data-item-id="{{this.id}}">
            <td style="margin-right: 1rem; width: 5%">
                <button type="button" name="collapseWeapon{{id}}" class="collapsible closed" data-item-id="{{this.id}}">+</button>
            </td>
            <td style="width: 30%">
                <label class="item-name draggable" data-uuid="{{item.uuid}}" data-skill="{{id}}">{{item.name}}</label>
            </td>
            <td style="width: 10%"><label class="middle-column important-column">{{item.system.dmgDef}}</label></td>
            <td style="width: 15%"><label class="middle-column" >{{{attackrating item.calculated.attackRating}}}</label></td>
            <td style="width: 15%; text-align: right; vertical-align: middle; white-space: nowrap;">
                {{#iff item.system.ammocap '>' 0}}
                {{item.system.ammocount}}/{{item.system.ammocap}}
                <a class="item-control weapon-ammo-reload" data-item-uuid="{{item.uuid}}" title="{{localize "shadowrun6.weapon.reload_ammo"}}"><i class="fas fa-rotate-right"></i></a>
                {{/iff}}
            </td>
            <td class="skill-pool" style="width: 15%; text-align: right;">
         	    <label class="item-pool" data-skill="{{item.system.skill}}" data-skillspec="{{item.system.skillSpec}}">{{item.system.pool}}</label>
         	    <a class="item-control weapon-roll" data-uuid="{{item.uuid}}" data-skill="{{item.system.skill}}" data-item-id="{{this.id}}" data-defend-with="physical" title="{{localize (concat "skill." item.system.skill)}}"><i class="fas fa-dice-six"></i></a>
            </td>
            <td style="width: 10%; text-align: right">
                <a class="item-control item-edit" title='{{localize 'shadowrun6.label.edit' }}'><i class="fas fa-edit"></i></a>
                <a class="item-control item-delete" title='{{localize 'shadowrun6.label.delete' }}'><i class="fas fa-trash"></i></a>
            </div>
            </td>
        </tr>
        <tr>
            <td colspan="8">
         	    <div class="collapsible-content closed">
                    {{#if (itemHasGearMods item actor)}}
                    <div class="mods-label">{{ localize 'SR6.Item.mod.label.section' }}:</div>
                    <div class="mods-list">
                    {{#each (gearModsOfItem item actor) as |mod id|}}
                        <div class="mod-item">
                            <a class="content-link" draggable="false" data-link="" data-uuid="{{mod.uuid}}" data-id="{{mod.uuid}}" data-type="Item">{{mod.name}}</a>
                        </div>
                    {{/each}}
                    </div>
                    {{/if}}
                    <div class="collapsible-content-trait">
                        <span>{{ localize 'shadowrun6.label.wilddie' }}:</span>
                        <input name="weaponWildDie{{id}}" class="centered box" type="checkbox" data-item-id="{{this.id}}" {{checked item.system.wild}} data-check="system.wild" type="checkbox" data-dtype="Boolean"/>
                    </div>
                    <div class="collapsible-content-trait">
                        <span>{{ localize 'shadowrun6.label.poolmod' }}:</span>
                        <input name="weaponMod{{id}}" class="centered box" type="text" data-item-id="{{this.id}}" data-field="system.modifier" type="text" value="{{item.system.modifier}}" data-dtype="Number" style="width: 1.5em"/>
                    </div>
         	    </div>
            </td>
        </tr>
        {{/if}}
        {{/each}}
        <!-- Close Combat Weapons -->
       <tr><td colspan="8">
           <div class="section-head">
           <h2 class="section-title">{{ localize 'shadowrun6.section.weapon.close' }}</h2>
            <a class="item-control close-weapon-create" title="{{localize 'shadowrun6.section.weapon.add' }}"><h2 class="fas fa-plus"></h2></a>
        </div></td></tr>

        {{#each actor.itemTypes.gear as |item id|}}
        {{#iff item.system.type '==' "WEAPON_CLOSE_COMBAT"}}
        <tr class="item" data-item-id="{{this.id}}"  title="{{sr6_description item.system 'item'}}">
            <td style="margin-right: 1rem; width: 5%">
                <button type="button" name="collapseCloseCombatWeapon{{id}}" class="collapsible closed" data-item-id="{{this.id}}">+</button>
            </td>
            <td style="width: 30%">
                <label class="item-name draggable" data-uuid="{{item.uuid}}" data-skill="{{id}}">{{item.name}}</label>
            </td>
            <td style="width: 10%"><label class="middle-column important-column">{{item.system.dmgDef}}</label></td>
            <td style="width: 15%"><label class="middle-column" >{{{attackrating item.calculated.attackRating}}}</label></td>
            <td style="width: 15%"></td>
            <td class="skill-pool" style="width: 15%; text-align: right;">
                <label class="item-pool" data-skill="{{item.system.skill}}">{{item.system.pool}}</label>
                <a class="item-control weapon-roll" data-uuid="{{item.uuid}}" data-skill="{{item.system.skill}}" data-item-id="{{this.id}}" title="{{localize (concat "skill." item.system.skill)}}"><i class="fas fa-dice-six"></i></a>
            </td>
            <td style="width: 10%; text-align: right">
                <a class="item-control item-edit" title='{{localize 'shadowrun6.label.edit' }}'><i class="fas fa-edit"></i></a>
                <a class="item-control item-delete" title='{{localize 'shadowrun6.label.delete' }}'><i class="fas fa-trash"></i></a>
            </td>
        </tr>
        <tr>
            <td colspan="8">
         	    <div class="collapsible-content closed">
                    {{#if (itemHasGearMods item actor)}}
                    <div class="mods-label">{{ localize 'SR6.Item.mod.label.section' }}:</div>
                    <div class="mods-list">
                    {{#each (gearModsOfItem item actor) as |mod id|}}
                        <div class="mod-item">
                            <a class="content-link" draggable="false" data-link="" data-uuid="{{mod.uuid}}" data-id="{{mod.uuid}}" data-type="Item">{{mod.name}}</a>
                        </div>
                    {{/each}}
                    </div>
                    {{/if}}
                    <div class="collapsible-content-trait">
                        <span>{{ localize 'shadowrun6.label.wilddie' }}:</span>
                        <input name="weaponWildDie{{id}}" class="centered box" type="checkbox" data-item-id="{{this.id}}" {{checked item.system.wild}} data-check="system.wild" type="checkbox" data-dtype="Boolean"/>
                    </div>
                    <div class="collapsible-content-trait">
                        <span>{{ localize 'shadowrun6.label.poolmod' }}:</span>
                        <input name="weaponMod{{id}}" class="centered box" type="text" data-item-id="{{this.id}}" data-field="system.modifier" type="text" value="{{item.system.modifier}}" data-dtype="Number" style="width: 1.5em"/>
                    </div>
         	    </div>
            </td>
        </tr>
        {{/iff}}
        {{/each}}
        <!-- Special Combat Weapons -->
        <tr>
            <td colspan="8">
                <div class="section-head">
                <h2 class="section-title">{{ localize 'shadowrun6.section.weapon.special' }}</h2>
                <a class="item-control weapon-special-create" title="{{localize 'shadowrun6.section.weapon.add' }}"><h2 class="fas fa-plus"></h2></a>
                </div>
            </td>
        </tr>

        {{#each actor.itemTypes.gear as |item id|}}
        {{#iff item.system.type '==' "WEAPON_SPECIAL"}}
        <tr class="item" data-item-id="{{this.id}}" title="{{sr6_description item.system 'item'}}">
            <td style="margin-right: 1rem; width: 5%">
                <button type="button" name="collapseSpecialWeapon{{id}}" class="collapsible closed" data-item-id="{{this.id}}">+</button>
            </td>
            <td style="width: 30%">
                <label class="item-name draggable" data-uuid="{{item.uuid}}" data-skill="{{id}}">{{item.name}}</label>
            </td>
            <td style="width: 10%">
                <label class="middle-column important-column">{{item.system.dmgDef}}</label>
            </td>
            <td style="width: 15%">
                <label class="middle-column" >{{{attackrating item.calculated.attackRating}}}</label>
            </td>
            <td style="width: 15%; text-align: right; vertical-align: middle; white-space: nowrap;">
                {{#iff item.system.ammocap '>' 0}}
                {{item.system.ammocount}}/{{item.system.ammocap}}
                <a class="item-control weapon-ammo-reload" data-item-uuid="{{item.uuid}}" title="{{localize "shadowrun6.weapon.reload_ammo"}}"><i class="fas fa-rotate-right"></i></a>
                {{/iff}}
            </td>
            <td class="skill-pool" style="width: 15%; text-align: right;">
                <label class="item-pool" data-skill="{{item.system.skill}}">{{item.system.pool}}</label>
                <a class="item-control weapon-roll" data-uuid="{{item.uuid}}" data-skill="{{item.system.skill}}" data-item-id="{{this.id}}" title="{{localize (concat "skill." item.system.skill)}}"><i class="fas fa-dice-six"></i></a>
            </td>
            <td style="width: 10%; text-align: right">
                <a class="item-control item-edit" title='{{localize 'shadowrun6.label.edit' }}'><i class="fas fa-edit"></i></a>
                <a class="item-control item-delete" title='{{localize 'shadowrun6.label.delete' }}'><i class="fas fa-trash"></i></a>
            </td>
        </tr>
        <tr>
            <td colspan="8">
         	    <div class="collapsible-content closed">
                    {{#if (itemHasGearMods item actor)}}
                    <div class="mods-label">{{ localize 'SR6.Item.mod.label.section' }}:</div>
                    <div class="mods-list">
                    {{#each (gearModsOfItem item actor) as |mod id|}}
                        <div class="mod-item">
                            <a class="content-link" draggable="false" data-link="" data-uuid="{{mod.uuid}}" data-id="{{mod.uuid}}" data-type="Item">{{mod.name}}</a>
                        </div>
                    {{/each}}
                    </div>
                    {{/if}}
                    <div class="collapsible-content-trait">
                        <span>{{ localize 'shadowrun6.label.wilddie' }}:</span>
                        <input name="weaponWildDie{{id}}" class="centered box" type="checkbox" data-item-id="{{this.id}}" {{checked item.system.wild}} data-check="system.wild" type="checkbox" data-dtype="Boolean"/>
                    </div>
                    <div class="collapsible-content-trait">
                        <span>{{ localize 'shadowrun6.label.poolmod' }}:</span>
                        <input name="weaponMod{{id}}" class="centered box" type="text" data-item-id="{{this.id}}" data-field="system.modifier" type="text" value="{{item.system.modifier}}" data-dtype="Number" style="width: 1.5em"/>
                    </div>
         	    </div>
            </td>
        </tr>
        {{/iff}}
        {{/each}}
     </table>
   </div>
