Files
roll20-character-sheets-tester/Shadowrun5thEdition/src/pug/_rolltemplates.pug
T
Cassie Levett 5932178ce8 Shadowrun 5th Edition v4.15 (#6085)
* fix translation bug and white space in notes

* remove css duplicate variable

* save update Astral Init Dice function

* add back astral init

* fix edge toggle

* combine script files. Add additional unit tests

* convert unit test to QUnit. Break up pugs into tabs

* convert roll template pug, add fade/draain to chat template

* add margin above drain/fade selects

* break up scss into 7-1

* adjust css

* add user feedback

* remove obsolete css and add additiona user feedback

* move npc sheet

* reduce button highlighting change

* fix bug in with the Primary target

* refactor vehicle, add gear location

* move and fix npc sheet
2020-04-06 14:03:28 -07:00

55 lines
1.6 KiB
Plaintext

.rolltemplates
rolltemplate.sheet-rolltemplate-rolls
.sheet-template-container
//- Display a header on the template -
.sheet-template-header
| {{#header}}
h1 {{header}}
| {{/header}}
| {{#base}}
span {{base}}
| {{/base}}
| {{#rollLess() wound 0}}
span ♦
span(data-i18n="wounds")
| {{/rollLess() wound 0}}
| {{#rollLess() mod 0}}
span ♦
span(data-i18n="modifier")
| {{/rollLess() mod 0}}
| {{#rollGreater() mod 0}}
span ♦
span(data-i18n="modifier")
| {{/rollGreater() mod 0}}
| {{#rollGreater() edge 0}}
span ♦
span(data-i18n="edge")
| {{/rollGreater() edge 0}}
//- Display the dice roll in the template -
.sheet-template-body
| {{#dice}}
.sheet-template-row
span.inlinerollresult {{dice}}
| {{/dice}}
//- Display a description. This is great for text included with a roll -
| {{#desc}}
.sheet-template-row
span.sheet-template-desc
| {{desc}}
| {{#rollGreater() rea 0}}
span ,
span(data-i18n="reach")
| {{rea}}
| {{/rollGreater() rea 0}}
| {{#rollGreater() drain 1}}
span ,
span(data-i18n="drain")
| {{drain}}
| {{/rollGreater() drain 1}}
| {{#rollLess() drain 2}}
span ,
span(data-i18n="drain-2")
| {{drain}}
| {{/rollLess() drain 2}}
| {{/desc}}