Jump to content

Template:Location: Difference between revisions

From greyhawk
mNo edit summary
mNo edit summary
Line 11: Line 11:
</noinclude>
</noinclude>


{{#if:{{{dialogue|}}}|
<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:{{{dialogue|}}}|
<div style="margin-bottom: 20px;">
<p>{{{dialogue}}}</p>
<p>{{{dialogue}}}</p>
</div>
</div>
Line 20: Line 18:


{{#if:{{{notes|}}}|
{{#if:{{{notes|}}}|
<div style="margin-bottom: 20px; border-top: 1px solid #000; padding-top: 10px;">
<div style="margin-bottom: 20px; padding-top: 10px;">
<h3 style="margin-bottom: 5px;">Notes:</h3>
<h3 style="margin-bottom: 5px;">Notes:</h3>
<p>{{{notes}}}</p>
<p>{{{notes}}}</p>
</div>
</div>
}}
}}
</div>


<noinclude>
<noinclude>

Revision as of 23:56, 20 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
| dialogue = Description to be read to players...
| notes = Notes for the Dungeon Master...
}}




<templatedata> {

   "params": {
       "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."

} </templatedata>