45 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <form class="{{cssClass}}" autocomplete="off">
 | |
|     <header class="sheet-header">
 | |
|         <img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
 | |
|         <div class="header-fields">
 | |
|             <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
 | |
|         </div>
 | |
|     </header>
 | |
| 
 | |
|     {{!-- Sheet Body --}}
 | |
|     <section class="sheet-body">
 | |
| 
 | |
|     <h3>{{upperFirst type}}</h3>        
 | |
|     
 | |
|     <div class="flexcol">
 | |
|       {{#if (exists system.capatype)}}
 | |
|       <span class="flexrow">
 | |
|         <label class="generic-label item-field-label-long">Type de capacité : </label>        
 | |
|         <input type="text" class="padd-right status-small-label color-class-common" name="system.capatype" value="{{system.capatype}}"
 | |
|         data-dtype="String" />
 | |
|       </span>
 | |
|       {{/if}}
 | |
| 
 | |
|       {{#if (exists system.aide)}}
 | |
|       <span class="flexrow">
 | |
|         <label class="generic-label item-field-label-long">Aide : </label>        
 | |
|         <input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.aide" value="{{system.aide}}"
 | |
|         data-dtype="Number" />
 | |
|       </span>
 | |
|       {{/if}}
 | |
| 
 | |
|       {{#if (exists system.ressource)}}
 | |
|       <span class="flexrow">
 | |
|         <label class="generic-label item-field-label-long">Resource/Intensité : </label>        
 | |
|         <input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.ressource" value="{{system.ressource}}"
 | |
|         data-dtype="Number" />
 | |
|       </span>
 | |
|       {{/if}}
 | |
| 
 | |
|       {{> systems/fvtt-imperium5/templates/partial-item-description.html}}
 | |
| 
 | |
|     </div>
 | |
|       
 | |
|     </section>
 | |
| </form>
 |