Jump to content

Template:Location: Difference between revisions

From greyhawk
mNo edit summary
mNo edit summary
Tag: Reverted
Line 4: Line 4:
== Usage ==
== Usage ==
<pre>
<pre>
{{AD&D 1e Module Split
{{AD&D 1e Location
| name = Location Name
| name = 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...
| texture = parchment.jpg (Optional: Image file name for texture)
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>
<div style="
    {{#if:{{{texture|}}}|background-image: url('{{{texture}}}'); background-repeat: repeat;}}
    font-family: Futura, Helvetica, sans-serif;
    border: 3px double #000;
    padding: 20px;
    margin: 10px;
    line-height: 1.4;
    text-align: justify;
">


{{#if:{{{name|}}}|
{{#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;">
<div style="
    font-family: Avant Garde, Helvetica, sans-serif;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3em;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
">
{{{name}}}
{{{name}}}
</div>
</div>
Line 19: Line 38:


{{#if:{{{dialogue|}}}|
{{#if:{{{dialogue|}}}|
<div style="font-family: Futura, Helvetica, sans-serif; border: 3px double #000; padding: 20px; margin: 0 10px 10px 10px; background-color: #fefefe;">
<p>{{{dialogue}}}</p>
<p>{{{dialogue}}}</p>
</div>
}}
}}


{{#if:{{{notes|}}}|
{{#if:{{{notes|}}}|
<div style="margin: 0 10px 10px 10px; padding-top: 10px;">
<h3 style="font-family: Avant Garde, Helvetica, sans-serif; margin-top: 15px; margin-bottom: 5px; border-bottom: 1px solid #000; padding-bottom: 3px;">Notes:</h3>
<h3 style="font-family: Avant Garde, Helvetica, sans-serif; margin-bottom: 5px;">Notes:</h3>
<p>{{{notes}}}</p>
<p style="font-family: Futura, Helvetica, sans-serif;">{{{notes}}}</p>
}}
 
</div>
</div>
}}


<noinclude>
<noinclude>
Line 51: Line 68:
             "type": "string",
             "type": "string",
             "description": "Notes for the Dungeon Master.",
             "description": "Notes for the Dungeon Master.",
            "required": false
        },
        "texture":{
            "label": "Background Texture",
            "type": "string",
            "description": "Optional: Image file name for a parchment or aged paper texture.",
             "required": false
             "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."
     "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 and background texture."
}
}
</templatedata>
</templatedata>
<p style="font-size: smaller;">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.</p>
<p style="font-size: smaller;">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.</p>
</noinclude>
</noinclude>

Revision as of 06:40, 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 Location
| name = Location Name
| dialogue = Description to be read to players...
| notes = Notes for the Dungeon Master...
| texture = parchment.jpg (Optional: Image file name for texture)
}}






<templatedata> {

   "params": {
       "name": {
           "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
       },
       "texture":{
           "label": "Background Texture",
           "type": "string",
           "description": "Optional: Image file name for a parchment or aged paper texture.",
           "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 and background texture."

} </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.