<form class="{{cssClass}}" autocomplete="off">
	{{> "systems/vermine2047/templates/item/chatCards/parts/base.hbs"}}
	
	{{!-- Item specific content --}}
	{{#if item.system.needSkill.value}}
	<div class="resource align-center flexcol">
		<label class="resource-label">{{ localize 'VERMINE.competence' }} {{ localize 'VERMINE.needed' }}</label>
		<p>{{ smarttlk 'SKILLS' item.system.needSkill.skill 'name' }}</p>
	</div>
	{{/if}}
	
	{{!-- Traits --}}
	{{#if item.system.traits}}
	<div class="resource align-center flexcol">
		<label class="resource-label">{{ localize 'VERMINE.traits' }}</label>
		<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}}
	
	{{!-- Physical item properties --}}
	{{#if item.system.quantity}}
	<div class="resource flexrow">
		<span class="resource-label">{{ localize 'VERMINE.quantity' }}:</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.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}}
	
	{{!-- Reliability --}}
	{{#if item.system.reliability}}
	<div class="resource flexrow">
		<span class="resource-label">{{ localize 'VERMINE.reliability' }}:</span>
		<span>{{item.system.reliability}}</span>
	</div>
	{{/if}}
	
</form>
