<form class="{{cssClass}}" autocomplete="off">
	{{> "systems/vermine2047/templates/item/chatCards/parts/base.hbs"}}
	
	{{!-- Defense specific content --}}
	<div class="grid grid-2col">
		{{#if item.system.level}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.level' }}:</span>
			<span>{{item.system.level}}</span>
		</div>
		{{/if}}
		
		{{#if item.system.specificLevel.level}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.specificLevel' }}:</span>
			<span>
				{{item.system.specificLevel.label}}
				{{#if item.system.specificLevel.level}}
					 ({{item.system.specificLevel.level}})
				{{/if}}
			</span>
		</div>
		{{/if}}
		
		{{#if item.system.mobility}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.mobility' }}:</span>
			<span>{{item.system.mobility}}</span>
		</div>
		{{/if}}
		
		{{#if item.system.isShield}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'ITEMS.shield' }}</span>
		</div>
		{{/if}}
		
		{{#if item.system.quantity}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.qty' }}:</span>
			<span>{{item.system.quantity}}</span>
		</div>
		{{/if}}
		
		{{#if item.system.weight}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.weight' }}:</span>
			<span>{{item.system.weight}}</span>
		</div>
		{{/if}}
		
		{{#if item.system.rarity.value}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.rarity' }}:</span>
			<span>
				{{#repeat item.system.rarity.value 1 "i"}}
					{{romanNumber i}}
				{{/repeat}}
				{{#ifgt item.system.rarity.handicap 0}}
					 ({{romanNumber item.system.rarity.handicap}})
				{{/ifgt}}
			</span>
		</div>
		{{/if}}
		
		{{#if item.system.traits}}
		<div class="resource flexcol">
			<span class="resource-label">{{ localize 'VERMINE.traits' }}:</span>
			<ul class="unstyled">
				{{#each item.system.traits as |trait key|}}
					{{#if trait}}
					<li>
						<strong>{{localize (lookup (lookup ../config.traits key) "name")}}</strong>:
						{{localize (lookup (lookup ../config.traits key) "description")}}
					</li>
					{{/if}}
				{{/each}}
			</ul>
		</div>
		{{/if}}
		
		{{#if item.system.damages.value}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.damages' }}:</span>
			<span class="damage-indicator">
				{{getDamagesData item.system.damages "state"}}
				{{#ifgt item.system.damages.value 1}}
					 ({{item.system.damages.value}})
				{{/ifgt}}
			</span>
		</div>
		{{/if}}
		
		{{#if item.system.reliability}}
		<div class="resource flexrow">
			<span class="resource-label">{{ localize 'VERMINE.reliability' }}:</span>
			<span>{{item.system.reliability}}</span>
		</div>
		{{/if}}
	</div>
	
</form>
