Jump to content

Template:Location: Difference between revisions

From greyhawk
mNo edit summary
mNo edit summary
 
Line 36: Line 36:
<div style="margin: 0 10px 10px 10px; padding-top: 10px; color: #333;">
<div style="margin: 0 10px 10px 10px; padding-top: 10px; color: #333;">
<div style="font-weight: bold; margin-bottom: 5px;">Notes:</div>
<div style="font-weight: bold; margin-bottom: 5px;">Notes:</div>
<div style="line-height: 1.4em;">{{{notes}}}</div>
<div style="line-height: 1.4em;">
 
{{{notes}}}
</div>
</div>
</div>
}}<!--
}}<!--

Latest revision as of 23:01, 30 April 2026


This template replicates the style of a 5th Edition D&D adventure module, with separate sections for dialogue and notes.

Usage

Include just once at the top of the page the following two lines:
{{Special:Whatlinkshere/{{BASEPAGENAME}}}}
[[Category:CAMPAIGN NAME]]

* Note that if you don't you'll see the what links here repeated for every {{Location}} instead of just once for the page as desired.

From this point forward simply use the {{Location}} template with the parameters identified below for each portion of text you want to read aloud.

Code to Copy[edit source]

{{Location

| name   = 
| dialog = 
| notes  = 
}}



<templatedata> {

   "params": {
       "name": {
           "label": "Location Name",
           "type": "string",
           "description": "The name of the location.",
           "required": false
       },
       "dialog": {
           "label": "Dialog",
           "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 a 5th Edition D&D adventure module, with separate sections for dialogue and notes, including an optional location name."

} </templatedata>

Font information sourced from: 5th Edition D&D core rulebooks and official publications.