Template:Location: Difference between revisions
Appearance
Adventurer (talk | contribs) mNo 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. | ||
* ''' | * '''Padding:''' Tight 3-5px layout for high density. | ||
=== Code to Copy === | === Code to Copy === | ||
<pre> | <pre> | ||
{{Location | {{Location | ||
| name = | | name = | ||
| dialog = | | dialog = | ||
| Line 21: | 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: | <div class="dnd-location-block" style="margin-bottom: 10px; font-family: 'Segoe UI', sans-serif; border: 1px solid #ccc; border-radius: 2px; overflow: hidden;"> | ||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
<div class="dnd-header" style="background: #58180D; color: white; padding: | <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;"> | ||
{{{name}}} | {{{name}}} | ||
</div> | </div> | ||
| Line 29: | Line 28: | ||
{{#if:{{{dialog|}}}| | {{#if:{{{dialog|}}}| | ||
<div class="dnd-dialog" style="padding: | <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;"> | ||
{{{dialog}}} | {{{dialog}}} | ||
</div> | </div> | ||
| Line 35: | Line 34: | ||
{{#if:{{{notes|}}}| | {{#if:{{{notes|}}}| | ||
<div class="dnd-notes" style="padding: | <div class="dnd-notes" style="padding: 5px 8px; background: white;"> | ||
<div style="font-family: 'Segoe UI', sans-serif; font-weight: bold; color: #58180D; border-bottom: 1px solid # | <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="line-height: 1.3em; color: #222;"> | <div style="line-height: 1.3em; color: #222;"> | ||
{{{notes}}} | {{{notes}}} | ||
Revision as of 22:42, 30 April 2026
Location Template Usage
- Uniform Design: All borders set to 1px.
- Padding: Tight 3-5px layout for high density.
Code to Copy
{{Location
| name =
| dialog =
| notes =
}}