Template:Location: Difference between revisions
Adventurer (talk | contribs) mNo edit summary Tag: Reverted |
Adventurer (talk | contribs) mNo edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
[Category:Location]] | [[Category:Location]] | ||
[[Category:DM Info]] | [[Category:DM Info]] | ||
Revision as of 22:31, 30 April 2026
Location Template Usage
This template replicates the style of a 5th Edition D&D adventure module.
- Use one `
` call per room or area.
- **Dialog:** Read this to players. Shaded in parchment color.
- **Notes:** DM-only info. Supports **bullets**, **bolding**, and **paragraph breaks** (double-enter).
Code to Copy
{{Location
| name =
| dialog =
| notes =
| color =
}}
<templatedata>
{
"params": {
"name": {
"label": "Location Name",
"type": "string",
"description": "The title of the room or area."
},
"dialog": {
"label": "Dialog",
"type": "string",
"description": "Text to be read aloud to players.",
"required": true
},
"notes": {
"label": "Notes",
"type": "string",
"description": "DM-specific information, traps, or loot. Supports Wiki formatting."
},
"color": {
"label": "Box Color",
"type": "string",
"description": "Optional: Override the default parchment background hex color."
}
},
"description": "Replicates 5E D&D module styling for campaign wikis."
}
</templatedata>