Vorlage:Charactersheet

Aus Meddlerde

Character Sheet

<button class="collapsible">Open Character Sheet</button>

{{{name}}}

Class: {{{class}}} Level: {{{level}}}
Race: {{{race}}} Background: {{{background}}}
Armor Class: {{{armorClass}}} Hit Points: {{{hitPoints}}}
Strength: {{{strength}}} Dexterity: {{{dexterity}}}
Constitution: {{{constitution}}} Intelligence: {{{intelligence}}}
Wisdom: {{{wisdom}}} Charisma: {{{charisma}}}

Skills

Acrobatics: {{{acrobatics}}} Animal Handling: {{{animalHandling}}} Arcana: {{{arcana}}}
Athletics: {{{athletics}}} Deception: {{{deception}}} History: {{{history}}}
Insight: {{{insight}}} Intimidation: {{{intimidation}}} Investigation: {{{investigation}}}
Medicine: {{{medicine}}} Nature: {{{nature}}} Perception: {{{perception}}}
Performance: {{{performance}}} Persuasion: {{{persuasion}}} Religion: {{{religion}}}
Sleight of Hand: {{{sleightOfHand}}} Stealth: {{{stealth}}} Survival: {{{survival}}}

<script> var coll = document.getElementsByClassName("collapsible"); for (var i = 0; i < coll.length; i++) {

 coll[i].addEventListener("click", function() {
   this.classList.toggle("active");
   var content = this.nextElementSibling;
   if (content.style.display === "block") {
     content.style.display = "none";
   } else {
     content.style.display = "block";
   }
 });

} </script>