Files
roll20-character-sheets-tester/Shadow of the Demon Lord/Source/rolltemplate.html
T

105 lines
3.4 KiB
HTML

<rolltemplate class="sheet-rolltemplate-sotdl">
{{#title}}
<div class="sheet-title">
<div>{{title}}</div>
{{#subtitle}}
<div class="sheet-subtitle">{{subtitle}}</div>
{{/subtitle}}
</div>
{{/title}}
{{#name}}
<div class="sheet-name">{{name}}</div>
{{/name}}
{{^sacrifice}}
<div class="sheet-rolls">
{{#showroll}}
<div class="sheet-roll">
<span class="sheet-label">{{roll-label}}</span>
{{#boons}}
{{#rollGreater() boons 0}}
<span class="sheet-boons sheet-super">
+{{boons}}
<div class="sheet-info">
<span data-i18n="WITH">with</span> {{boons}}<span> </span>
{{#rollLess() boons 2}}
<span class="sheet-lower" data-i18n="BOON">boon</span>
{{/rollLess() boons 2}}
{{#rollGreater() boons 1}}
<span class="sheet-lower" data-i18n="BOONS">boons</span>
{{/rollGreater() boons 1}}
</div>
</span>
{{/rollGreater() boons 0}}
{{#rollLess() boons 0}}
<span class="sheet-banes sheet-super">
{{boons}}
<div class="sheet-info">
<span data-i18n="WITH">with</span>{{boons}}<span> </span>
{{#rollGreater() boons -2}}
<span class="sheet-lower" data-i18n="BANE">bane</span>
{{/rollGreater() boons -2}}
{{#rollLess() boons -1}}
<span class="sheet-lower" data-i18n="BANES">banes</span>
{{/rollLess() boons -1}}
</div>
</span>
{{/rollLess() boons 0}}
{{/boons}}
<span class="sheet-label">: </span>{{roll}}
{{#versus}}
<span> </span><span data-i18n="VS">vs</span> <span class="sheet-vs">{{versus}}</span>
{{/versus}}
</div>
{{/showroll}}
{{#damage}}
<div class="sheet-damage">
<span class="sheet-label"><span data-i18n="DAMAGE">Damage</span>: </span>{{damageroll}}
</div>
{{/damage}}
{{#damageplus}}
<div class="sheet-damageplus">{{damageplus}}</div>
{{/damageplus}}
</div>
{{/sacrifice}}
{{#spell}}{{^sacrifice}}
<div class="sheet-spell-info">
{{#requirement}}
<div><strong data-i18n="REQUIREMENT">Requirement</strong> {{requirement}}</div>
{{/requirement}}
{{#target}}
<div><strong data-i18n="TARGET">Target</strong> {{target}}</div>
{{/target}}
{{#area}}
<div><strong data-i18n="AREA">Area</strong> {{area}}</div>
{{/area}}
{{#duration}}
<div><strong data-i18n="DURATION">Duration</strong> {{duration}}</div>
{{/duration}}
</div>
{{/sacrifice}}{{/spell}}
<div class="sheet-content">
{{#sacrifice}}
<div><strong data-i18n="SACRIFICE">Sacrifice</strong> {{sacrifice}}</div>
{{/sacrifice}}
{{^sacrifice}}
{{#rollGreater() roll 19}}{{#roll20plus}}
<div><strong data-i18n="ATTACK_ROLL_20+">Attack Roll 20+</strong> {{roll20plus}}</div>
{{/roll20plus}}{{/rollGreater() roll 19}}
{{#triggered}}
<div><strong data-i18n="TRIGGERED">Triggered</strong> {{triggered}}</div>
{{/triggered}}
{{#permanence}}
<div><strong data-i18n="PERMANENCE">Permanence</strong> {{permanence}}</div>
{{/permanence}}
{{#aftereffect}}
<div><strong data-i18n="AFTEREFFECT">Aftereffect</strong> {{aftereffect}}</div>
{{/aftereffect}}
{{#special}}
<div><strong data-i18n="SPECIAL">Special</strong> {{special}}</div>
{{/special}}
{{#description}}
<div class="sheet-description"> {{description}}</div>
{{/description}}
{{/sacrifice}}
</div>
</rolltemplate>