75 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
| <roll-part-img>
 | |
|   <img src="{{current.meditation.img}}" data-tooltip="{{current.meditation.name}}" />
 | |
| </roll-part-img>
 | |
| <roll-part-detail>
 | |
|   <subline>
 | |
|     Rêve actuel: {{rollData.active.actor.system.reve.reve.value}}
 | |
|   </subline>
 | |
|   <subline>
 | |
|     <select name="select-meditation" {{#if rollData.type.retry}}disabled{{/if}}>
 | |
|       {{selectOptions refs.meditations selected=current.key valueAttr="key" labelAttr="label"}}
 | |
|     </select>
 | |
|     {{#if current.meditation.system.malus}}
 | |
|     <selected-numeric-value>
 | |
|     {{plusMoins current.meditation.system.malus}}
 | |
|     </selected-numeric-value>
 | |
|     {{/if}}
 | |
|   </subline>
 | |
| 
 | |
| 
 | |
|   <subline><strong><span name="theme">{{current.meditation.system.theme}}</span></strong></subline>
 | |
|   <subline>Support: <strong><span name="support">{{current.meditation.system.support}}</span></strong></subline>
 | |
| 
 | |
|   <subline>
 | |
|     TMR: <strong><span name="tmr">{{typeTmr-name current.meditation.system.tmr}}</span></strong>
 | |
|     {{#unless current.isTMR}}
 | |
|        <div class="warning">
 | |
|         <i class="fa-solid fa-circle-exclamation"></i>
 | |
|         {{caseTmr-label rollData.active.actor.system.reve.tmrpos.coord}}
 | |
|         {{rollData.active.actor.system.reve.tmrpos.coord}}
 | |
|       </div>
 | |
|     {{/unless}}
 | |
|     </subline>
 | |
|   </subline>
 | |
|   <subline>Durée: 60 minutes</subline>
 | |
| 
 | |
|   <br>
 | |
| 
 | |
|   <subline>
 | |
|     <input class="conditionMeditation" type="checkbox" name="isComportement" {{#if current.isComportement}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
 | |
|     <label for="isComportement">Comportement: 
 | |
|       <span name="comportement">{{current.meditation.system.comportement}}</span>
 | |
|     </label>
 | |
|   </subline>
 | |
| 
 | |
|   <subline>
 | |
|     <input class="conditionMeditation" type="checkbox" name="isHeure" {{#if current.isHeure}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
 | |
|     <label for="isHeure">Heure: 
 | |
|       <span name="heure">{{timestamp-label current.heureMeditation}}</span>
 | |
|       <span name="heure-signe">
 | |
|         {{timestamp-imgSigneHeure current.heureMeditation}}
 | |
|       </span>
 | |
|       {{#if (ne current.heureMeditation current.heureMonde)}}
 | |
|         <span class="warning">
 | |
|           <i class="fa-solid fa-circle-exclamation"></i>
 | |
|           {{timestamp-label current.heureMonde}}
 | |
|           {{timestamp-imgSigneHeure current.heureMonde}}
 | |
|         </span>
 | |
|       {{/if}}
 | |
|     </label>
 | |
|   </subline>
 | |
| 
 | |
|   <subline>
 | |
|     <input class="conditionMeditation" type="checkbox" name="isPurification" {{#if current.isPurification}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
 | |
|     <label for="isPurification">Purification: 
 | |
|       <span name="purification">{{current.meditation.system.purification}}</span></label>
 | |
|   </subline>
 | |
| 
 | |
|   <subline>
 | |
|     <input class="conditionMeditation" type="checkbox" name="isVeture" {{#if current.isVeture}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
 | |
|     <label for="isVeture">Vêture: 
 | |
|       <span name="veture">{{current.meditation.system.veture}}</span>
 | |
|     </label>
 | |
|   </subline>
 | |
| </roll-part-detail>
 |