All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
3.2 KiB

1 year ago
  1. {{#if data.title.show}}
  2. <header>
  3. <h{{title.level1}}>{{data.name}}</h{{title.level1}}>
  4. </header>
  5. {{/if}}
  6. {{#if linked.document}}
  7. <section>
  8. {{{enriched.value}}}
  9. <h{{title.level2}}>{{localize "JOURNALENTRYPAGE.DND5E.Class.FeaturesHeader"}}</h{{title.level2}}>
  10. <p>
  11. {{localize "JOURNALENTRYPAGE.DND5E.Class.FeaturesDescription" name=linked.name lowercaseName=linked.lowercaseName}}
  12. </p>
  13. {{#if (or advancement.hp enriched.additionalHitPoints)}}
  14. <h{{title.level3}}>{{localize "JOURNALENTRYPAGE.DND5E.Class.HitPointsHeader"}}</h{{title.level3}}>
  15. <p>
  16. {{{localize "JOURNALENTRYPAGE.DND5E.Class.HitDice" dice=advancement.hp.hitDice class=linked.lowercaseName}}}<br>
  17. {{{localize "JOURNALENTRYPAGE.DND5E.Class.HitPointsLevel1" max=advancement.hp.max}}}<br>
  18. {{{localize "JOURNALENTRYPAGE.DND5E.Class.HitPointsLevelX" dice=advancement.hp.hitDice
  19. average=advancement.hp.average class=linked.lowercaseName}}}
  20. </p>
  21. {{{enriched.additionalHitPoints}}}
  22. {{/if}}
  23. {{#if (or advancement.traits enriched.additionalTraits)}}
  24. <h{{title.level3}}>{{localize "JOURNALENTRYPAGE.DND5E.Class.TraitsHeader"}}</h{{title.level3}}>
  25. {{{enriched.additionalTraits}}}
  26. {{/if}}
  27. {{#if (or advancement.equipment enriched.additionalEquipment)}}
  28. <h{{title.level3}}>{{localize "JOURNALENTRYPAGE.DND5E.Class.EquipmentHeader"}}</h{{title.level3}}>
  29. {{{enriched.additionalEquipment}}}
  30. {{/if}}
  31. {{> "dnd5e.journal-table" table=table level=title.level3
  32. caption=(localize "JOURNALENTRYPAGE.DND5E.Class.TableCaption" class=linked.name)}}
  33. {{#each features}}
  34. <h{{@root.title.level4}}>{{this.name}}</h{{@root.title.level4}}>
  35. {{{this.description}}}
  36. {{/each}}
  37. {{#if optionalTable}}
  38. <h{{title.level2}}>{{localize "JOURNALENTRYPAGE.DND5E.Class.OptionalFeaturesCaption"}}</h{{title.level2}}>
  39. <p>{{localize "JOURNALENTRYPAGE.DND5E.Class.OptionalFeaturesDescription" class=linked.lowercaseName}}</p>
  40. {{> "dnd5e.journal-table" table=optionalTable level=title.level3
  41. caption=(localize "JOURNALENTRYPAGE.DND5E.Class.TableOptionalCaption" class=linked.name)}}
  42. {{#each optionalFeatures}}
  43. <h{{@root.title.level4}}>{{this.name}}</h{{@root.title.level4}}>
  44. {{{this.description}}}
  45. {{/each}}
  46. {{/if}}
  47. {{#if (or enriched.subclass subclasses)}}
  48. <h{{title.level2}}>
  49. {{#if system.subclassHeader}}{{system.subclassHeader}}
  50. {{else}}{{localize "JOURNALENTRYPAGE.DND5E.Class.SubclassItems"}}{{/if}}
  51. </h{{title.level2}}>
  52. {{{enriched.subclass}}}
  53. {{#each subclasses}}
  54. <h{{@root.title.level3}}>{{this.name}}</h{{@root.title.level3}}>
  55. {{{this.description}}}
  56. {{#if this.table}}
  57. {{> "dnd5e.journal-table" table=this.table level=title.level4
  58. caption=(localize "JOURNALENTRYPAGE.DND5E.Class.TableCaption" class=this.name)}}
  59. {{/if}}
  60. {{#each this.features}}
  61. <h{{@root.title.level4}}>{{this.name}}</h{{@root.title.level4}}>
  62. {{{this.description}}}
  63. {{/each}}
  64. {{/each}}
  65. {{/if}}
  66. </section>
  67. {{else}}
  68. <section>
  69. {{localize "JOURNALENTRYPAGE.DND5E.Class.NoValidClass"}}
  70. </section>
  71. {{/if}}