Jump to content

Template:Location: Difference between revisions

From greyhawk
mNo edit summary
mNo edit summary
Line 15: Line 15:
<div style="font-family: 'Times New Roman', Times, serif; border: 3px double #000; padding: 20px; margin: 10px; background-color: #fefefe;">
<div style="font-family: 'Times New Roman', Times, serif; border: 3px double #000; padding: 20px; margin: 10px; background-color: #fefefe;">
{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
<h4 style="margin-bottom: 5px; text-transform: uppercase;">{{{name}}}</h4>
<div style="text-align: center; margin-bottom: 10px;">
<h4 style="margin: 0; text-transform: uppercase;">{{{name}}}</h4>
</div>
}}
}}
<p>{{{dialogue}}}</p>
<p>{{{dialogue}}}</p>

Revision as of 00:03, 21 March 2025

This template replicates the style of an AD&D 1e adventure module, with separate sections for dialogue and notes.

Usage

{{AD&D 1e Module Split
| name = Location Name
| dialogue = Description to be read to players...
| notes = Notes for the Dungeon Master...
}}




<templatedata> {

   "params": {
       "name": {
           "label": "Location Name",
           "type": "string",
           "description": "The name of the location.",
           "required": false
       },
       "dialogue": {
           "label": "Dialogue",
           "type": "string",
           "description": "The description to be read to the players.",
           "required": true
       },
       "notes": {
           "label": "Notes",
           "type": "string",
           "description": "Notes for the Dungeon Master.",
           "required": false
       }
   },
   "description": "Template to replicate the style of an AD&D 1e adventure module, with separate sections for dialogue and notes, including an optional location name."

} </templatedata>