19 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <li class="item flexrow list-item color-class-{{lower stat.abbrev}} item-stat-roll" data-attr-key="{{key}}">
 | |
|   <span class="stat-icon">
 | |
|     <img class="stat-icon" src="systems/fvtt-pegasus-rpg/images/icons/{{stat.abbrev}}.webp">
 | |
|   </span>
 | |
|   <span class="stat-label stat-margin" name="{{key}}">
 | |
|     <h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin" data-stat-key="{{key}}">{{stat.abbrev}}</a></h4>
 | |
|   </span>
 | |
|   <select class="status-small-label color-class-common select-stat" type="text" name="system.statistics.{{key}}.value" value="{{stat.value}}"
 | |
|     data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
 | |
|     {{#select stat.value}}
 | |
|     {{{@root.optionsDiceList}}}
 | |
|     {{/select}}
 | |
|   </select>
 | |
|   <span class="stat-label stat-margin" name="{{key}}">
 | |
|     <h4 class="stat-text-white stat-margin">{{getDice (add stat.value stat.bonuseffect)}}</h4>
 | |
|   </span>
 | |
|   <input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.statistics.{{key}}.mod" value="{{stat.mod}}"
 | |
|     data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
 | |
| </li> |