Charactersheet: Unterschied zwischen den Versionen
Aus Meddlerde
Xeada (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Xeada (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<syntaxhighlight lang="wiki"> | <syntaxhighlight lang="wiki"> | ||
<div style=" | <div style="border: 1px solid #ccc; padding: 10px; width: 300px;"> | ||
< | <h2>{{{name}}}</h2> | ||
<p><strong>Class:</strong> {{{class}}}</p> | |||
</ | <p><strong>Level:</strong> {{{level}}}</p> | ||
<p><strong>Race:</strong> {{{race}}}</p> | |||
<p><strong>Background:</strong> {{{background}}}</p> | |||
<p><strong>Strength:</strong> {{{strength}}}</p> | |||
<p><strong>Dexterity:</strong> {{{dexterity}}}</p> | |||
<p><strong>Constitution:</strong> {{{constitution}}}</p> | |||
<p><strong>Intelligence:</strong> {{{intelligence}}}</p> | |||
<p><strong>Wisdom:</strong> {{{wisdom}}}</p> | |||
<p><strong>Charisma:</strong> {{{charisma}}}</p> | |||
</div> | </div> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Zeile 12: | Zeile 18: | ||
{ | { | ||
"params": { | "params": { | ||
" | "name": { | ||
"description": " | "description": "Character's name", | ||
"example": " | "example": "Kinski", | ||
"type": "string", | |||
"required": true | |||
}, | |||
"class": { | |||
"description": "Character's class", | |||
"example": "Sorcerer", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "level": { | ||
"description": " | "description": "Character's level", | ||
"example": " | "example": "5", | ||
"type": "number", | |||
"required": true | |||
}, | |||
"race": { | |||
"description": "Character's race", | |||
"example": "Elf", | |||
"type": "string", | "type": "string", | ||
"required": true | |||
}, | |||
"background": { | |||
"description": "Character's background", | |||
"example": "Noble", | |||
"type": "string", | |||
"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 | "required": true | ||
} | } | ||
}, | }, | ||
"description": "Generates a | "description": "Generates a D&D character sheet", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
{{CharacterSheet | |||
|name=Kinski | |||
|class=Sorcerer | |||
|level=5 | |||
|race=Elf | |||
|background=Noble | |||
|strength=15 | |||
|dexterity=14 | |||
|constitution=13 | |||
|intelligence=12 | |||
|wisdom=10 | |||
|charisma=16 | |||
}} | |||
Version vom 22. Februar 2025, 14:55 Uhr
<div style="border: 1px solid #ccc; padding: 10px; width: 300px;">
<h2>{{{name}}}</h2>
<p><strong>Class:</strong> {{{class}}}</p>
<p><strong>Level:</strong> {{{level}}}</p>
<p><strong>Race:</strong> {{{race}}}</p>
<p><strong>Background:</strong> {{{background}}}</p>
<p><strong>Strength:</strong> {{{strength}}}</p>
<p><strong>Dexterity:</strong> {{{dexterity}}}</p>
<p><strong>Constitution:</strong> {{{constitution}}}</p>
<p><strong>Intelligence:</strong> {{{intelligence}}}</p>
<p><strong>Wisdom:</strong> {{{wisdom}}}</p>
<p><strong>Charisma:</strong> {{{charisma}}}</p>
</div>Generates a D&D character sheet
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| name | name | Character's name
| Zeichenfolge | erforderlich |
| class | class | Character's class
| Zeichenfolge | erforderlich |
| level | level | Character's level
| Nummer | erforderlich |
| race | race | Character's race
| Zeichenfolge | erforderlich |
| background | background | Character's background
| Zeichenfolge | erforderlich |
| strength | strength | Strength score
| Nummer | erforderlich |
| dexterity | dexterity | Dexterity score
| Nummer | erforderlich |
| constitution | constitution | Constitution score
| Nummer | erforderlich |
| intelligence | intelligence | Intelligence score
| Nummer | erforderlich |
| wisdom | wisdom | Wisdom score
| Nummer | erforderlich |
| charisma | charisma | Charisma score
| Nummer | erforderlich |
