Template:NavboxSection/doc
Jump to navigation
Jump to search
Usage
{{NavboxSection|Header here|Item 1|Item 2|etc.}}
↓
↓
Code output
'"`UNIQ--templatestyles-00000005-QINU`"'<div class="navbox-section"><div class="navbox-section-header">Header here</div><div class="navbox-section-content">Item 1Item 2etc.</div></div>
With an actual group
{{NavboxSection|Parts
|{{NavboxGroup|Weapons
|{{NavboxItem|Laser Blaster}}
|{{NavboxItem|Heavy Laser Blaster}}
}}}}
↓
↓
Code output
'"`UNIQ--templatestyles-0000000F-QINU`"'<div class="navbox-section"><div class="navbox-section-header">Parts</div><div class="navbox-section-content">'"`UNIQ--templatestyles-0000000E-QINU`"'<div class="navbox-group navbox-group-with-items">
<div class="navbox-group-title" style="
background-color: color-mix(in srgb, var(--gray--light) 40%, transparent);
">Weapons</div>
<div class="navbox-group-content" style="flex-direction: row;
gap: .25rem;
padding: 0 .4rem;
align-items: center;"><span class="navbox-item" style="
white-space: pre;
">[[Laser Blaster]]</span><span style="
color: var(--gray--light);
/* more compact */
margin: 0 -.1em;
">•</span><span class="navbox-item" style="
white-space: pre;
">[[Heavy Laser Blaster]]</span></div>
</div></div></div>