Template:Location: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
< | <noinclude> | ||
<div | [[Category:Templates]] | ||
< | This template replicates the style of an AD&D 1e adventure module, with separate sections for dialogue and notes. | ||
{{{ | == Usage == | ||
<pre> | |||
{{AD&D 1e Module Split | |||
| dialogue = Description to be read to players... | |||
| notes = Notes for the Dungeon Master... | |||
}} | |||
</pre> | |||
</noinclude> | |||
<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> | |||
</div> | |||
}} | |||
{{#if:{{{notes|}}}| | |||
<div style="margin-bottom: 20px; border-top: 1px solid #000; padding-top: 10px;"> | |||
<h3 style="margin-bottom: 5px;">Notes:</h3> | |||
<p>{{{notes}}}</p> | |||
</div> | </div> | ||
}} | |||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
<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> | |||
</noinclude> | </noinclude> | ||
Revision as of 23:53, 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>