Template:Location: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{AD&D 1e Module Split | {{AD&D 1e Module Split | ||
| location = Location Name | |||
| dialogue = Description to be read to players... | | dialogue = Description to be read to players... | ||
| notes = Notes for the Dungeon Master... | | notes = Notes for the Dungeon Master... | ||
| Line 13: | Line 14: | ||
{{#if:{{{dialogue|}}}| | {{#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:{{{location|}}}| | |||
<h4 style="margin-bottom: 5px; text-transform: uppercase;">{{{location}}}</h4> | |||
}} | |||
<p>{{{dialogue}}}</p> | <p>{{{dialogue}}}</p> | ||
</div> | </div> | ||
| Line 28: | Line 32: | ||
{ | { | ||
"params": { | "params": { | ||
"location": { | |||
"label": "Location Name", | |||
"type": "string", | |||
"description": "The name of the location.", | |||
"required": false | |||
}, | |||
"dialogue": { | "dialogue": { | ||
"label": "Dialogue", | "label": "Dialogue", | ||
| Line 41: | Line 51: | ||
} | } | ||
}, | }, | ||
"description": "Template to replicate the style of an AD&D 1e adventure module, with separate sections for dialogue and notes." | "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> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 00:00, 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
| location = Location Name
| dialogue = Description to be read to players...
| notes = Notes for the Dungeon Master...
}}
<templatedata> {
"params": {
"location": {
"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>