Template:Location: Difference between revisions
Appearance
Adventurer (talk | contribs) mNo edit summary Tag: Reverted |
Adventurer (talk | contribs) mNo edit summary Tag: Reverted |
||
| Line 7: | Line 7: | ||
== Location Template Usage == | == Location Template Usage == | ||
* ''' | * '''Compact Edition:''' Minimized padding (3-5px) for high-density information. | ||
* '''Notes:''' | * '''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: | <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: | <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=" | <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: | <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: | <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. | <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 =
}}