Icon ID:
'name','value'=>$item['name'],'id'=>$item['id'],'title'=>'Name','icon'=>'fad fa-tag','show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Enter item name ...']); ?>
'icon','value'=>$item['icon'],'id'=>$item['id'],'title'=>'Icon ID','icon'=>'fad fa-images','show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Enter icon id ...', 'type'=>'number']); ?>
'item_type','value'=>$item['item_type'],'id'=>$item['id'],'title'=>'Item Type','icon'=>'fad fa-disease','show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>NULL, 'field_type'=>'select', 'options'=>$itemCategories]); ?>
'description','value'=>$item['description'],'id'=>$item['id'],'title'=>'Description','icon'=>'fad fa-file-signature','show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Enter an item description ...', 'field_type'=>'textarea']); ?>

Requirements

Use get_skills function to populate skill requirements.

Stats

Add item stats here

'tier','value'=>$item['tier'],'id'=>$item['id'],'title'=>'Tier','icon'=>NULL,'show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Count - whatever that means...','type'=>'number']); ?>
'count','value'=>$item['count'],'id'=>$item['id'],'title'=>'Count','icon'=>NULL,'show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Count - whatever that means...','type'=>'number']); ?>
'weight','value'=>$item['weight'],'id'=>$item['id'],'title'=>'Weight','icon'=>NULL,'show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Count - whatever that means...','type'=>'number']); ?>
'stack_count','value'=>$item['stack_count'],'id'=>$item['id'],'title'=>'Stack Count','icon'=>NULL,'show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Stack count (int)','type'=>'number']); ?>
'slots','value'=>$item['slots'],'id'=>$item['id'],'title'=>'Slots','icon'=>NULL,'show-label'=>false,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>'Slots (int)','type'=>'number']); ?>

Flags

['title'=>'Lore', 'ico'=>''], 'lore_equip' => ['title'=>'Lore Equip', 'ico'=>''], 'stacklore' => ['title'=>'Stack Lore', 'ico'=>''], 'temporary' => ['title'=>'Temporary', 'ico'=>''], 'artifact' => ['title'=>'Artifact', 'ico'=>''], 'notrade' => ['title'=>'Untradable', 'ico'=>''], 'nodestroy' => ['title'=>'Indestructible', 'ico'=>''], 'show_name' => ['title'=>'Show Name', 'ico'=>''], 'crafted' => ['title'=>'Crafted', 'ico'=>''], 'attuneable' => ['title'=>'Attuneable', 'ico'=>''], 'heirloom' => ['title'=>'Heirloom', 'ico'=>''], 'nozone' => ['title'=>'No Zone', 'ico'=>''], 'norepair' => ['title'=>'No Repair', 'ico'=>''], 'good_only' => ['title'=>'Good Only', 'ico'=>''], 'evil_only' => ['title'=>'Evil Only', 'ico'=>''], 'novalue' => ['title'=>'No Value', 'ico'=>''], 'ornate' => ['title'=>'Ornate', 'ico'=>''], 'etheral' => ['title'=>'Etheral', 'ico'=>''], 'appearance_only' => ['title'=>'Appearance Only', 'ico'=>''], 'reforged' => ['title'=>'Reforged', 'ico'=>''], 'refined' => ['title'=>'Refined', 'ico'=>''], 'usable' => ['title'=>'Usable', 'ico'=>''], 'collectable' => ['title'=>'Collectable', 'ico'=>''] ]; foreach($_switches as $k => $v) { echo '
'.build_edit_input(['field'=>$k,'value'=>$item[$k],'icon'=>$v['ico'],'title'=>$v['title'],'id'=>$item['id'],'show-label'=>true,'class'=>$ic,'aria'=>false,'desc'=>false,'placeholder'=>NULL, 'field_type'=>'switch']).'
'; } ?>