Template:Bar box: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#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|}}}">
{{#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: {{{background-color|white}}};">
<div style="border:{{{border_width|1}}}px solid silver; font-size:88%; padding:0.4em; width:{{{width|auto}}}; background: {{{background-color|white}}};">
<table style="text-align:left; border-collapse:collapse; width:100%;">
<table style="text-align:left; border-collapse:collapse; width:20%;">
{{#if:{{{title|}}}|
{{#if:{{{title|}}}|
<tr style="background:{{{titlebar|none}}}"><th style="text-align:center;" colspan="5">{{{title}}}</th></tr>
<tr style="background:{{{titlebar|none}}}"><th style="text-align:center;" colspan="5">{{{title}}}</th></tr>

Revision as of 14:42, 5 September 2025

[create] Template documentation