Template:Bar box and Template:Bar box/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Copy from Template:Bar box/sandbox for dark theme support. |
background none |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{float|}}} | left |right=|#default=<table style="margin:{{#ifeq:{{{float|}}}|center|0 auto|0}}; border:none;"><tr><td style="border:none; padding:0;">}}<div class=" |
<includeonly>{{#switch: {{{float|}}} | left |right=|#default=<table style="margin:{{#ifeq:{{{float|}}}|center|0 auto|0}}; border:none;"><tr><td style="border:none; padding:0;">}}<div class="barbox {{#switch: {{{float|}}} | left = tleft | right = tright|center|none=tnone}}" style="overflow-x: auto;{{{style|}}}"> |
||
<div style="border:{{{border_width|1}}}px solid silver; font-size:88%; padding:0.4em; width:{{{width|auto}}}; background: |
<div style="border:{{{border_width|1}}}px solid silver; font-size:88%; padding:0.4em; width:{{{width|auto}}}; background: none); color: var(--color-base, #202122);"> |
||
<table style="text-align:left; border-collapse:collapse; width:100%;"> |
<table style="text-align:left; border-collapse:collapse; width:100%;"> |
||
{{#if:{{{title|}}}| |
{{#if:{{{title|}}}| |
||
<tr style="background: |
<tr style="background:var(--background-color-neutral, #eaecf0); color: var(--color-base, #202122);"><th style="text-align:center;" colspan="5">{{{title}}}</th></tr> |
||
}} |
}} |
||
<tr style="font-size:88%; height:4px;"> |
<tr style="font-size:88%; height:4px;"> |