Vorlage:Charactersheet: Unterschied zwischen den Versionen

Aus Meddlerde
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(33 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Documentation subpage}}
{{Documentation subpage}}
== Character Sheet ==
== Character Sheet ==
<div style="border: 2px solid #4CAF50; padding: 20px; background-color: #f9f9f9; border-radius: 10px; font-family: 'Roboto', sans-serif;">
<div style="border: 2px solid #4CAF50; padding: 10px; background-color: #f9f9f9; border-radius: 10px; font-family: 'Roboto', sans-serif; width: 45%; float: left; margin-right: 20px; position: sticky; top: 0;">
     <h2 style="color: #4CAF50; text-align: center;">{{{name}}}</h2>
     <h2 style="color: #4CAF50; text-align: center; margin-top: 5px; margin-bottom: 5px;">{{{name}}}</h2>
     <table style="width: 100%; border-collapse: collapse; margin-bottom: 20px;">
     <div class="mw-collapsible mw-collapsed">
        <tr>
        <div class="mw-collapsible-content">
            <td><strong>Class:</strong></td>
            <table style="width: 100%; border-collapse: collapse; margin-bottom: 5px; font-size: 11px;">
            <td>{{{class}}}</td>
                <tr>
            <td><strong>Level:</strong></td>
                    <td><strong>Class:</strong></td>
            <td>{{{level}}}</td>
                    <td>{{{class}}}</td>
        </tr>
                    <td><strong>Level:</strong></td>
        <tr>
                    <td>{{{level}}} ({{#expr: floor(({{{level}}} - 1) / 4) + 2}})</td>
            <td><strong>Race:</strong></td>
                </tr>
            <td>{{{race}}}</td>
                <tr>
            <td><strong>Background:</strong></td>
                    <td><strong>Race:</strong></td>
            <td>{{{background}}}</td>
                    <td>{{{race}}}</td>
        </tr>
                    <td><strong>Background:</strong></td>
        <tr>
                    <td>{{{background}}}</td>
            <td><strong>Armor Class:</strong></td>
                </tr>
            <td>{{{armorClass}}}</td>
                <tr>
            <td><strong>Hit Points:</strong></td>
                    <td><strong>Armor Class:</strong></td>
            <td>{{{hitPoints}}}</td>
                    <td>{{{armorClass}}}</td>
        </tr>
                    <td><strong>Hit Points:</strong></td>
        <tr>
                    <td>{{{hitPoints}}}</td>
            <td><strong>Strength:</strong></td>
                </tr>
            <td>{{{strength}}}</td>
                <tr>
            <td><strong>Dexterity:</strong></td>
                    <td><strong>Initiative:</strong></td>
            <td>{{{dexterity}}}</td>
                    <td>{{#expr: floor(({{{dexterity}}} - 10) / 2)}}</td>
        </tr>
                    <td><strong>Speed:</strong></td>
        <tr>
                    <td>{{{speed}}}</td>
            <td><strong>Constitution:</strong></td>
                </tr>
            <td>{{{constitution}}}</td>
                <tr>
            <td><strong>Intelligence:</strong></td>
                    <td><strong>Strength:</strong></td>
            <td>{{{intelligence}}}</td>
                    <td>{{{strength}}} ({{#expr: floor(({{{strength}}} - 10) / 2)}})</td>
        </tr>
                    <td><strong>Dexterity:</strong></td>
        <tr>
                    <td>{{{dexterity}}} ({{#expr: floor(({{{dexterity}}} - 10) / 2)}})</td>
            <td><strong>Wisdom:</strong></td>
                </tr>
            <td>{{{wisdom}}}</td>
                <tr>
            <td><strong>Charisma:</strong></td>
                    <td><strong>Constitution:</strong></td>
            <td>{{{charisma}}}</td>
                    <td>{{{constitution}}} ({{#expr: floor(({{{constitution}}} - 10) / 2)}})</td>
        </tr>
                    <td><strong>Intelligence:</strong></td>
    </table>
                    <td>{{{intelligence}}} ({{#expr: floor(({{{intelligence}}} - 10) / 2)}})</td>
    <h3 style="color: #4CAF50; text-align: center;">Skills</h3>
                </tr>
    <table style="width: 100%; border-collapse: collapse;">
                <tr>
        <tr>
                    <td><strong>Wisdom:</strong></td>
            <td><strong>Acrobatics:</strong></td>
                    <td>{{{wisdom}}} ({{#expr: floor(({{{wisdom}}} - 10) / 2)}})</td>
            <td>{{{acrobatics}}}</td>
                    <td><strong>Charisma:</strong></td>
            <td><strong>Animal Handling:</strong></td>
                    <td>{{{charisma}}} ({{#expr: floor(({{{charisma}}} - 10) / 2)}})</td>
            <td>{{{animalHandling}}}</td>
                </tr>
        </tr>
                <tr>
        <tr>
                    <td><strong>Passive Perception:</strong></td>
             <td><strong>Arcana:</strong></td>
                    <td>{{#expr: 10 + floor(({{{wisdom}}} - 10) / 2)}}</td>
             <td>{{{arcana}}}</td>
                </tr>
             <td><strong>Athletics:</strong></td>
            </table>
            <td>{{{athletics}}}</td>
             <hr style="border: 1px solid #4CAF50; margin: 5px 0;">
        </tr>
             <h3 style="color: #4CAF50; text-align: center; margin-top: 5px; margin-bottom: 5px;">Proficiencies and Languages</h3>
        <tr>
             <p style="text-align: center;">{{{proficiencies}}}</p>
             <td><strong>Deception:</strong></td>
            <p style="text-align: center;">{{{languages}}}</p>
             <td>{{{deception}}}</td>
             <hr style="border: 1px solid #4CAF50; margin: 5px 0;">
             <td><strong>History:</strong></td>
             <h3 style="color: #4CAF50; text-align: center; margin-top: 5px; margin-bottom: 5px;">Equipment</h3>
            <td>{{{history}}}</td>
             <p style="text-align: center;">{{{equipment}}}</p>
        </tr>
            <hr style="border: 1px solid #4CAF50; margin: 5px 0;">
        <tr>
             <h3 style="color: #4CAF50; text-align: center; margin-top: 5px; margin-bottom: 5px;">Saving Throws</h3>
             <td><strong>Insight:</strong></td>
             <table style="width: 100%; border-collapse: collapse; font-size: 10px;">
             <td>{{{insight}}}</td>
                <tr>
            <td><strong>Intimidation:</strong></td>
                    <td><strong>Strength:</strong> {{#expr: floor(({{{strength}}} - 10) / 2) + ({{{strengthSaveProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td>{{{intimidation}}}</td>
                    <td><strong>Dexterity:</strong> {{#expr: floor(({{{dexterity}}} - 10) / 2) + ({{{dexteritySaveProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
        </tr>
                </tr>
        <tr>
                <tr>
            <td><strong>Investigation:</strong></td>
                    <td><strong>Constitution:</strong> {{#expr: floor(({{{constitution}}} - 10) / 2) + ({{{constitutionSaveProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td>{{{investigation}}}</td>
                    <td><strong>Intelligence:</strong> {{#expr: floor(({{{intelligence}}} - 10) / 2) + ({{{intelligenceSaveProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td><strong>Medicine:</strong></td>
                </tr>
            <td>{{{medicine}}}</td>
                <tr>
        </tr>
                    <td><strong>Wisdom:</strong> {{#expr: floor(({{{wisdom}}} - 10) / 2) + ({{{wisdomSaveProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
        <tr>
                    <td><strong>Charisma:</strong> {{#expr: floor(({{{charisma}}} - 10) / 2) + ({{{charismaSaveProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td><strong>Nature:</strong></td>
                </tr>
            <td>{{{nature}}}</td>
            </table>
            <td><strong>Perception:</strong></td>
             <hr style="border: 1px solid #4CAF50; margin: 5px 0;">
            <td>{{{perception}}}</td>
             <h3 style="color: #4CAF50; text-align: center; margin-top: 5px; margin-bottom: 5px;">Skills</h3>
        </tr>
            <table style="width: 100%; border-collapse: collapse; font-size: 10px;">
        <tr>
                <tr>
            <td><strong>Performance:</strong></td>
                    <td><strong>Acrobatics:</strong> {{#expr: floor(({{{dexterity}}} - 10) / 2) + ({{{acrobaticsProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td>{{{performance}}}</td>
                    <td><strong>Animal Handling:</strong> {{#expr: floor(({{{wisdom}}} - 10) / 2) + ({{{animalHandlingProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td><strong>Persuasion:</strong></td>
                    <td><strong>Arcana:</strong> {{#expr: floor(({{{intelligence}}} - 10) / 2) + ({{{arcanaProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
             <td>{{{persuasion}}}</td>
                </tr>
        </tr>
                <tr>
        <tr>
                    <td><strong>Athletics:</strong> {{#expr: floor(({{{strength}}} - 10) / 2) + ({{{athleticsProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
             <td><strong>Religion:</strong></td>
                    <td><strong>Deception:</strong> {{#expr: floor(({{{charisma}}} - 10) / 2) + ({{{deceptionProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td>{{{religion}}}</td>
                    <td><strong>History:</strong> {{#expr: floor(({{{intelligence}}} - 10) / 2) + ({{{historyProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td><strong>Sleight of Hand:</strong></td>
                </tr>
            <td>{{{sleightOfHand}}}</td>
                <tr>
        </tr>
                    <td><strong>Insight:</strong> {{#expr: floor(({{{wisdom}}} - 10) / 2) + ({{{insightProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
        <tr>
                    <td><strong>Intimidation:</strong> {{#expr: floor(({{{charisma}}} - 10) / 2) + ({{{intimidationProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td><strong>Stealth:</strong></td>
                    <td><strong>Investigation:</strong> {{#expr: floor(({{{intelligence}}} - 10) / 2) + ({{{investigationProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
            <td>{{{stealth}}}</td>
                </tr>
            <td><strong>Survival:</strong></td>
                <tr>
            <td>{{{survival}}}</td>
                    <td><strong>Nature:</strong> {{#expr: floor(({{{intelligence}}} - 10) / 2) + ({{{natureProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
         </tr>
                    <td><strong>Perception:</strong> {{#expr: floor(({{{wisdom}}} - 10) / 2) + ({{{perceptionProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
     </table>
                </tr>
                <tr>
                    <td><strong>Performance:</strong> {{#expr: floor(({{{charisma}}} - 10) / 2) + ({{{performanceProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
                    <td><strong>Persuasion:</strong> {{#expr: floor(({{{charisma}}} - 10) / 2) + ({{{persuasionProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
                    <td><strong>Religion:</strong> {{#expr: floor(({{{intelligence}}} - 10) / 2) + ({{{religionProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
                </tr>
                <tr>
                    <td><strong>Sleight of Hand:</strong> {{#expr: floor(({{{dexterity}}} - 10) / 2) + ({{{sleightOfHandProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
                    <td><strong>Stealth:</strong> {{#expr: floor(({{{dexterity}}} - 10) / 2) + ({{{stealthProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
                    <td><strong>Survival:</strong> {{#expr: floor(({{{wisdom}}} - 10) / 2) + ({{{survivalProf}}} * (floor(({{{level}}} - 1) / 4) + 2))}}</td>
                </tr>
            </table>
         </div>
     </div>
</div>
</div>


<includeonly>{{Sandbox other|| <!-- Categories below this line --> }}</includeonly>
<includeonly>{{Sandbox other|| <!-- Categories below this line --> }}</includeonly>
<templatedata>
{
"params": {
"name": {
"description": "Character's name",
"example": "Kinski",
"type": "string",
"required": true
},
"class": {
"description": "Character's class",
"example": "Sorcerer",
"type": "string",
"required": true
},
"level": {
"description": "Character's level",
"example": "5",
"type": "number",
"required": true
},
"race": {
"description": "Character's race",
"example": "Elf",
"type": "string",
"required": true
},
"background": {
"description": "Character's background",
"example": "Noble",
"type": "string",
"required": true
},
"armorClass": {
"description": "Armor Class",
"example": "15",
"type": "number",
"required": true
},
"hitPoints": {
"description": "Hit Points",
"example": "30",
"type": "number",
"required": true
},
"strength": {
"description": "Strength score",
"example": "15",
"type": "number",
"required": true
},
"dexterity": {
"description": "Dexterity score",
"example": "14",
"type": "number",
"required": true
},
"constitution": {
"description": "Constitution score",
"example": "13",
"type": "number",
"required": true
},
"intelligence": {
"description": "Intelligence score",
"example": "12",
"type": "number",
"required": true
},
"wisdom": {
"description": "Wisdom score",
"example": "10",
"type": "number",
"required": true
},
"charisma": {
"description": "Charisma score",
"example": "16",
"type": "number",
"required": true
},
"acrobatics": {
"description": "Acrobatics skill",
"example": "+3",
"type": "string",
"required": true
},
"animalHandling": {
"description": "Animal Handling skill",
"example": "+2",
"type": "string",
"required": true
},
"arcana": {
"description": "Arcana skill",
"example": "+4",
"type": "string",
"required": true
},
"athletics": {
"description": "Athletics skill",
"example": "+5",
"type": "string",
"required": true
},
"deception": {
"description": "Deception skill",
"example": "+6",
"type": "string",
"required": true
},
"history": {
"description": "History skill",
"example": "+1",
"type": "string",
"required": true
},
"insight": {
"description": "Insight skill",
"example": "+3",
"type": "string",
"required": true
},
"intimidation": {
"description": "Intimidation skill",
"example": "+2",
"type": "string",
"required": true
},
"investigation": {
"description": "Investigation skill",
"example": "+4",
"type": "string",
"required": true
},
"medicine": {
"description": "Medicine skill",
"example": "+1",
"type": "string",
"required": true
},
"nature": {
"description": "Nature skill",
"example": "+2",
"type": "string",
"required": true
},
"perception": {
"description": "Perception skill",
"example": "+5",
"type": "string",
"required": true
},
"performance": {
"description": "Performance skill",
"example": "+3",
"type": "string",
"required": true
},
"persuasion": {
"description": "Persuasion skill",
"example": "+6",
"type": "string",
"required": true
},
"religion": {
"description": "Religion skill",
"example": "+2",
"type": "string",
"required": true
},
"sleightOfHand": {
"description": "Sleight of Hand skill",
"example": "+3",
"type": "string",
"required": true
},
"stealth": {
"description": "Stealth skill",
"example": "+4",
"type": "string",
"required": true
},
"survival": {
"description": "Survival skill",
"example": "+5",
"type": "string",
"required": true
}
},
"description": "Generates a D&D character sheet with base stats, skills, and other relevant information"
}
</templatedata>

Aktuelle Version vom 2. März 2025, 17:24 Uhr

Character Sheet

{{{name}}}

Class: {{{class}}} Level: {{{level}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“)
Race: {{{race}}} Background: {{{background}}}
Armor Class: {{{armorClass}}} Hit Points: {{{hitPoints}}}
Initiative: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Speed: {{{speed}}}
Strength: {{{strength}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“) Dexterity: {{{dexterity}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“)
Constitution: {{{constitution}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“) Intelligence: {{{intelligence}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“)
Wisdom: {{{wisdom}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“) Charisma: {{{charisma}}} (Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“)
Passive Perception: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“

Proficiencies and Languages

{{{proficiencies}}}

{{{languages}}}


Equipment

{{{equipment}}}


Saving Throws

Strength: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Dexterity: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“
Constitution: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Intelligence: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“
Wisdom: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Charisma: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“

Skills

Acrobatics: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Animal Handling: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Arcana: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“
Athletics: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Deception: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ History: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“
Insight: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Intimidation: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Investigation: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“
Nature: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Perception: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“
Performance: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Persuasion: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Religion: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“
Sleight of Hand: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Stealth: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“ Survival: Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“