Jump to content

Template:Location: Difference between revisions

From greyhawk
No edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 1: Line 1:
{{Special:Whatlinkshere/{{PAGENAME}}}}
<div style="display: flex; justify-content: space-between; align-items: flex-start; background-color: #f0f0f0; padding: 10px;">
  <div>
    {{#if:{{{name|}}}|
      <div style="font-family: Avant Garde, Helvetica, sans-serif; text-transform: uppercase; font-weight: bold; font-size: 1.2em;">
        {{{name}}}
      </div>
    }}
  </div>
  <div>
    <ul style="list-style: none; padding: 0; margin: 0; display: flex;">
      <li>{{Special:Whatlinkshere/{{PAGENAME}}}}</li>
    </ul>
  </div>
</div>
 
{{#if:{{{dialog|}}}|
  <div style="font-family: Futura, Helvetica, sans-serif; border: 3px double #000; padding: 20px; margin: 10px; background-color: #fefefe;">
    <p>{{{dialog}}}</p>
  </div>
}}
 
{{#if:{{{notes|}}}|
  <div style="margin: 10px; padding-top: 10px;">
    <h3 style="font-family: Avant Garde, Helvetica, sans-serif; margin-bottom: 5px;">Notes:-</h3>
    <p style="font-family: Futura, Helvetica, sans-serif;">{{{notes}}}</p>
  </div>
}}
 
[[Category:Location]]
[[Category:Location]]
[[Category:DM Info]]
[[Category:DM Info]]
Line 14: Line 41:
</pre>
</pre>
</noinclude>
</noinclude>
{{#if:{{{name|}}}|
<div style="font-family: Avant Garde, Helvetica, sans-serif; margin: 10px 10px 0 10px; text-transform: uppercase; font-weight: bold; font-size: 1.2em;">
{{{name}}}
</div>
}}
{{#if:{{{dialog|}}}|
<div style="font-family: Futura, Helvetica, sans-serif; border: 3px double #000; padding: 20px; margin: 0 10px 10px 10px; background-color: #fefefe;">
<p>{{{dialog}}}</p>
</div>
}}
{{#if:{{{notes|}}}|
<div style="margin: 0 10px 10px 10px; padding-top: 10px;">
<h3 style="font-family: Avant Garde, Helvetica, sans-serif; margin-bottom: 5px;">Notes:</h3>
<p style="font-family: Futura, Helvetica, sans-serif;">{{{notes}}}</p>
</div>
}}


<noinclude>
<noinclude>
Line 44: Line 52:
             "required": false
             "required": false
         },
         },
         "dialogue": {
         "dialog": {
             "label": "Dialog",
             "label": "Dialog",
             "type": "string",
             "type": "string",

Revision as of 23:46, 24 March 2025


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

Usage

{{Location
| name = Location Name
| dialog = 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
       },
       "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 an AD&D 1e adventure module, with separate sections for dialogue and notes, including an optional location name."

} </templatedata>

Font information sourced from: discussions on RPG forums and the TSR & WotC Font FAQ, specifically noting the frequent use of Futura, Helvetica, and Avant Garde in AD&D 1st Edition publications. While exact fonts may vary, these are strongly associated with the era's aesthetic.