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:''' Player-facing text. Shaded parchment with a 3px sidebar.
* '''Compact Edition:''' Minimized padding (3-5px) for high-density information.
* '''Notes:''' DM info. Supports bullets and breaks.
* '''Notes:''' Supports bullets and double-enter paragraph breaks.


=== Code to Copy ===
=== Code to Copy ===
<pre>
<pre>
{{Location
{{Location


| name  =  
| name  =  
Line 22: 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 2px rgba(0,0,0,0.05);">
<div class="dnd-location-block" style="margin-bottom: 10px; font-family: 'Segoe UI', sans-serif; border: 1px solid #ccc; border-radius: 3px; 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: 2px 8px; font-variant: small-caps; font-weight: bold; font-size: 0.95em; letter-spacing: 0.5px;">
       {{{name}}}
       {{{name}}}
     </div>
     </div>
Line 30: Line 29:


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


   {{#if:{{{notes|}}}|
   {{#if:{{{notes|}}}|
     <div class="dnd-notes" style="padding: 10px 15px; background: white;">
     <div class="dnd-notes" style="padding: 4px 8px; background: white;">
       <div style="font-family: 'Segoe UI', sans-serif; font-weight: bold; color: #58180D; border-bottom: 1px solid #eee; margin-bottom: 8px; 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: 3px; text-transform: uppercase; font-size: 0.7em; letter-spacing: 0.5px;">DM Notes</div>
       <div style="line-height: 1.5em; color: #222;">
       <div style="line-height: 1.3em; color: #222;">
{{{notes}}}
{{{notes}}}
       </div>
       </div>

Revision as of 22:40, 30 April 2026



Location Template Usage

  • Compact Edition: Minimized padding (3-5px) for high-density information.
  • Notes: Supports bullets and double-enter paragraph breaks.

Code to Copy

{{Location

| name   = 
| dialog = 
| notes  = 
}}