Jump to content

Template:Bar box: Difference between revisions

From OpenGeofiction
Created page with "<div class="barbox {{#switch: {{{float|}}} | left = tleft | right = tright }}" style="border:{{{border_width|1}}}px solid silver; font-size:88%; padding:0.4em; width:{{{width|..."
 
updating
 
Line 1: Line 1:
<div class="barbox {{#switch: {{{float|}}} | left = tleft | right = tright }}" style="border:{{{border_width|1}}}px solid silver; font-size:88%; padding:0.4em; width:{{{width|auto}}}; background: {{{background-color|white}}};{{{style|}}}">
<div class="sidebox box-{{{side|right}}}"><table class="tbx-barbox" style="width:{{{width|25em}}};">
<table style="border-collapse:collapse; width:100%;">
{{#if:{{{title|}}}|
{{#if:{{{title|}}}|
<tr style="background:{{{titlebar|none}}}"><th colspan="5">{{{title}}}</th></tr>
<tr {{#if:{{{titlebar|}}}|style="background:{{{titlebar|none}}}|class="tbx-wide-label"}}><th colspan="5">{{{title}}}</th></tr>
}}
}}
<tr style="font-size:88%; height:4px;">
<tr height:4px;">
<td style="padding:0 4px;">{{{left1|}}}</td>
<td style="padding:0 4px;">{{{left1|}}}</td>
<td style="padding:0 4px; text-align:right;">{{{left2|}}}</td>
<td style="padding:0 4px; text-align:right;">{{{left2|}}}</td>

Latest revision as of 19:30, 17 January 2026

This template is modeled after and adapted from a template originally found on Wikipedia and licensed under Creative Commons-ShareAlike-Attribution 3.0.