Vorlage:Quest: Unterschied zwischen den Versionen

Aus Meddlerde
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<syntaxhighlight lang="html">
{{Documentation subpage}}
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
== Quest Tracker ==
 
<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: 20px; background-color: #f9f9f9; border-radius: 10px; font-family: 'Roboto', sans-serif;">
     <h2 style="color: #4CAF50; text-align: center;">Quest Tracker</h2>
     <h2 style="color: #4CAF50; text-align: center;">Quest Tracker</h2>
Zeile 22: Zeile 21:
                 <td style="padding: 10px; border: 1px solid #ddd;">Need to find the map first.</td>
                 <td style="padding: 10px; border: 1px solid #ddd;">Need to find the map first.</td>
             </tr>
             </tr>
            <!-- Add more quests here -->
         </tbody>
         </tbody>
     </table>
     </table>
    <h3 style="color: #4CAF50;">Add a New Quest</h3>
    <nowiki>
    <form>
        <label for="quest-name" style="display: block; margin-bottom: 5px;">Quest Name:</label>
        <input type="text" id="quest-name" name="quest-name" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;">
       
        <label for="quest-description" style="display: block; margin-bottom: 5px;">Description:</label>
        <textarea id="quest-description" name="quest-description" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;"></textarea>
       
        <label for="quest-status" style="display: block; margin-bottom: 5px;">Status:</label>
        <select id="quest-status" name="quest-status" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;">
            <option value="Not Started">Not Started</option>
            <option value="In Progress">In Progress</option>
            <option value="Completed">Completed</option>
        </select>
       
        <label for="assigned-to" style="display: block; margin-bottom: 5px;">Assigned To:</label>
        <input type="text" id="assigned-to" name="assigned-to" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;">
       
        <label for="notes" style="display: block; margin-bottom: 5px;">Notes:</label>
        <textarea id="notes" name="notes" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;"></textarea>
       
        <button type="submit" style="background-color: #4CAF50; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer;">Add Quest</button>
    </form>
    </nowiki>
</div>
</div>
</syntaxhighlight>
 
<includeonly>{{Sandbox other|| <!-- Categories below this line --> }}</includeonly>
<templatedata>
{
    "params": {},
    "description": "Generates a quest tracking table with a form to add new quests",
    "format": "inline"
}
</templatedata>

Aktuelle Version vom 22. Februar 2025, 15:35 Uhr

Quest Tracker

Quest Tracker

<thead> </thead> <tbody> </tbody>
Quest Name Description Status Assigned To Notes
Retrieve the Ancient Artifact Find and bring back the ancient artifact from the ruins. In Progress Elara Need to find the map first.

Add a New Quest

   
    <form>
        <label for="quest-name" style="display: block; margin-bottom: 5px;">Quest Name:</label>
        <input type="text" id="quest-name" name="quest-name" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;">
        
        <label for="quest-description" style="display: block; margin-bottom: 5px;">Description:</label>
        <textarea id="quest-description" name="quest-description" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;"></textarea>
        
        <label for="quest-status" style="display: block; margin-bottom: 5px;">Status:</label>
        <select id="quest-status" name="quest-status" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;">
            <option value="Not Started">Not Started</option>
            <option value="In Progress">In Progress</option>
            <option value="Completed">Completed</option>
        </select>
        
        <label for="assigned-to" style="display: block; margin-bottom: 5px;">Assigned To:</label>
        <input type="text" id="assigned-to" name="assigned-to" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;">
        
        <label for="notes" style="display: block; margin-bottom: 5px;">Notes:</label>
        <textarea id="notes" name="notes" style="width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px;"></textarea>
        
        <button type="submit" style="background-color: #4CAF50; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer;">Add Quest</button>
    </form>
    


Generates a quest tracking table with a form to add new quests

Vorlagenparameter[Vorlagendaten bearbeiten]

Diese Vorlage bevorzugt Inline-Formatierung von Parametern.

ParameterBeschreibungTypStatus
Keine Parameter angegeben