Jump to content

Template:Location: Difference between revisions

From greyhawk
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 7: Line 7:


== Location Template Usage ==
== Location Template Usage ==
* '''Dialog:''' Parchment shaded box for player reading.
* '''Dialog:''' Player-facing text. Shaded parchment.
* '''Notes:''' Clean white box for DM info. Supports bullets and line breaks.
* '''Notes:''' DM info. Supports bullets and breaks.


=== Code to Copy ===
=== Code to Copy ===
Line 21: Line 21:
</noinclude>
</noinclude>


<div class="dnd-location-block" style="margin-bottom: 15px; font-family: 'Segoe UI', sans-serif; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; box-shadow: 1px 1px 3px rgba(0,0,0,0.1);">
<div class="dnd-location-block" style="margin-bottom: 15px; font-family: 'Segoe UI', sans-serif; border: 1px solid #ddd; border-radius: 4px; overflow: hidden;">
   {{#if:{{{name|}}}|
   {{#if:{{{name|}}}|
     <div class="dnd-header" style="background: #58180D; color: white; padding: 4px 12px; font-variant: small-caps; font-weight: bold; font-size: 1.05em; letter-spacing: 0.5px;">
     <div class="dnd-header" style="background: #58180D; color: white; padding: 3px 12px; font-variant: small-caps; font-weight: bold; font-size: 1em; letter-spacing: 0.5px;">
       {{{name}}}
       {{{name}}}
     </div>
     </div>
Line 29: Line 29:


   {{#if:{{{dialog|}}}|
   {{#if:{{{dialog|}}}|
     <div class="dnd-dialog" style="border-left: 5px solid #58180D; padding: 10px 12px; margin: 0; background-color: {{{color|#fdf1dc}}}; color: #333; font-style: italic; line-height: 1.4em; font-family: 'Georgia', serif;">
     <div class="dnd-dialog" style="padding: 10px 12px; margin: 0; background-color: {{{color|#fdf1dc}}}; color: #333; font-style: italic; line-height: 1.4em; font-family: 'Georgia', serif; border-bottom: 1px solid #ddd;">
       {{{dialog}}}
       {{{dialog}}}
     </div>
     </div>
Line 35: Line 35:


   {{#if:{{{notes|}}}|
   {{#if:{{{notes|}}}|
     <div class="dnd-notes" style="padding: 8px 12px; background: white; border-top: 1px solid #ddd;">
     <div class="dnd-notes" style="padding: 8px 12px; background: white;">
       <div style="font-family: 'Segoe UI', sans-serif; font-weight: bold; color: #58180D; border-bottom: 1px solid #58180D; margin-bottom: 5px; text-transform: uppercase; font-size: 0.75em; letter-spacing: 1px;">Dungeon Master Notes</div>
       <div style="font-family: 'Segoe UI', sans-serif; font-weight: bold; color: #58180D; border-bottom: 1px solid #eee; margin-bottom: 5px; text-transform: uppercase; font-size: 0.7em; letter-spacing: 1px;">Dungeon Master Notes</div>
       <div style="line-height: 1.5em; color: #222;">
       <div style="line-height: 1.5em; color: #222;">
{{{notes}}}
{{{notes}}}

Revision as of 22:34, 30 April 2026



Location Template Usage

  • Dialog: Player-facing text. Shaded parchment.
  • Notes: DM info. Supports bullets and breaks.

Code to Copy

{{Location

| name   = 
| dialog = 
| notes  = 
}}