Difference between revisions of "Template:Hofbox"

From RealCTY
Jump to navigation Jump to search
(not always more than one session)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table class="hofbox" cellspacing="3" style="text-align: left; font-size: 95%;;"><!--
+
<table class="hofbox" cellspacing="3" style="text-align: center; font-size: 95%;;"><!--
--><tr style="line-height: 2.5em;"><th style="width: 5.5em; {{#switch:{{{site|}}}
+
--><tr style="line-height: 2.5em;"><th style="text-align: left; width: 5.5em; {{#switch:{{{site|}}}
 
| LAN = background:#d0f5d0;
 
| LAN = background:#d0f5d0;
| CAR = background:#d0f5d0;
+
| CAR = background:#d5e2f2;
| LOS = background:#d0f5d0;
+
| LOS = background:#f2cece;
| SAR = background:#d0f5d0;
+
| SAR = background:#f0daf0;
| LOU = background:#d0f5d0;
+
| LOU = background:#faf3b4;
| JHU = background:#d0f5d0;
+
| JHU = background:#fcd8b8;
| STM = background:#d0f5d0;
+
| STM = background:#d2d2d2;
| EST = background:#d0f5d0;
+
| EST = background:#d2d2d2;
| BRI = background:#d0f5d0;
+
| BRI = background:#d2d2d2;
| UCSC = background:#d0f5d0;
+
| UCSC = background:#d2d2d2;
| #default = background:#d0f5d0;
+
| #default = background:#d2d2d2;
}}">Sessions:</th><td colspan="2" style="text-align: center;">{{{sessions|}}}</td></tr><!--
+
}}">Session(s):</th><td colspan="2" style="text-align: center;">{{{sessions|}}}</td></tr><!--
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;"> {{{image}}}<!--
+
-->{{#if:{{{image|}}}|<tr><td colspan="2">{{{image}}}</td></tr><!--
-->{{#if:{{{caption|}}}|</td></tr><tr><td colspan="2" style="text-align: center;"><div style="word-wrap: break-word; width: {{{imgwidth|}}};">{{{caption}}}</div> }}</td></tr>}}
+
-->{{#if:{{{caption|}}}|<tr><td colspan="2"><div style="word-wrap: break-word; width: {{{imgwidth|}}};">{{{caption}}}</div></td></tr> }} }}
 
</table>
 
</table>

Latest revision as of 18:39, 28 July 2016

Session(s):