Vorlage:Distinguish/doc

Aus Meddlerde
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">

<div style="border: 2px solid #4CAF50; padding: 10px; width: 350px; background-color: #f9f9f9; border-radius: 10px; font-family: 'Roboto', sans-serif;">
    <h2 style="color: #4CAF50; text-align: center;">{{{name}}}</h2>
    <table style="width: 100%; border-collapse: collapse;">
        <tr>
            <td><strong><i class="fas fa-hat-wizard"></i> Class:</strong></td>
            <td>{{{class}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-level-up-alt"></i> Level:</strong></td>
            <td>{{{level}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-dna"></i> Race:</strong></td>
            <td>{{{race}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-book"></i> Background:</strong></td>
            <td>{{{background}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-fist-raised"></i> STR:</strong></td>
            <td>{{{strength}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-running"></i> DEX:</strong></td>
            <td>{{{dexterity}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-heart"></i> CON:</strong></td>
            <td>{{{constitution}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-brain"></i> INT:</strong></td>
            <td>{{{intelligence}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-eye"></i> WIS:</strong></td>
            <td>{{{wisdom}}}</td>
        </tr>
        <tr>
            <td><strong><i class="fas fa-theater-masks"></i> CHA:</strong></td>
            <td>{{{charisma}}}</td>
        </tr>
    </table>
</div>

Generates a compact D&D character sheet

Vorlagenparameter

Diese Vorlage bevorzugt Inline-Formatierung von Parametern.

ParameterBeschreibungTypStatus
namename

Character's name

Beispiel
Kinski
Zeichenfolgeerforderlich
classclass

Character's class

Beispiel
Sorcerer
Zeichenfolgeerforderlich
levellevel

Character's level

Beispiel
5
Nummererforderlich
racerace

Character's race

Beispiel
Elf
Zeichenfolgeerforderlich
backgroundbackground

Character's background

Beispiel
Noble
Zeichenfolgeerforderlich
strengthstrength

Strength score

Beispiel
15
Nummererforderlich
dexteritydexterity

Dexterity score

Beispiel
14
Nummererforderlich
constitutionconstitution

Constitution score

Beispiel
13
Nummererforderlich
intelligenceintelligence

Intelligence score

Beispiel
12
Nummererforderlich
wisdomwisdom

Wisdom score

Beispiel
10
Nummererforderlich
charismacharisma

Charisma score

Beispiel
16
Nummererforderlich