Jump to content

Template:Location: Difference between revisions

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


== Location Template Usage ==
== Location Template Usage ==
* '''Uniform Design:''' All borders set to 1px.
* '''Ultra-Slim:''' Reduced padding (3px) and 1px borders.
* '''Padding:''' Tight 3-5px layout for high density.
* '''Reset:''' Force-removes default browser spacing.


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


<div class="dnd-location-block" style="margin-bottom: 10px; font-family: 'Segoe UI', sans-serif; border: 1px solid #ccc; border-radius: 2px; overflow: hidden;">
<div class="dnd-location-block" style="margin-bottom: 8px; font-family: 'Segoe UI', sans-serif; border: 1px solid #ccc; border-radius: 0; overflow: hidden; box-sizing: border-box;">
   {{#if:{{{name|}}}|
   {{#if:{{{name|}}}|
     <div class="dnd-header" style="background: #58180D; color: white; padding: 3px 8px; border-bottom: 1px solid #58180D; font-variant: small-caps; font-weight: bold; font-size: 0.95em;">
     <div class="dnd-header" style="background: #58180D; color: white; padding: 2px 4px; border: 0; border-bottom: 1px solid #ccc; font-variant: small-caps; font-weight: bold; font-size: 0.9em; margin: 0; box-sizing: border-box;">
       {{{name}}}
       {{{name}}}
     </div>
     </div>
Line 28: Line 28:


   {{#if:{{{dialog|}}}|
   {{#if:{{{dialog|}}}|
     <div class="dnd-dialog" style="padding: 5px 8px; margin: 0; background-color: {{{color|#fdf1dc}}}; color: #333; font-style: italic; line-height: 1.3em; font-family: 'Georgia', serif; border-bottom: 1px solid #ccc;">
     <div class="dnd-dialog" style="padding: 3px 5px; margin: 0; background-color: {{{color|#fdf1dc}}}; color: #333; font-style: italic; line-height: 1.25em; font-family: 'Georgia', serif; border: 0; border-bottom: 1px solid #ccc; box-sizing: border-box;">
       {{{dialog}}}
       {{{dialog}}}
     </div>
     </div>
Line 34: Line 34:


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

Revision as of 22:45, 30 April 2026



Location Template Usage

  • Ultra-Slim: Reduced padding (3px) and 1px borders.
  • Reset: Force-removes default browser spacing.

Code to Copy

{{Location
| name   = 
| dialog = 
| notes  = 
}}