Difference between revisions of "Template:Hofbox"

From RealCTY
Jump to navigation Jump to search
(not always more than one session)
 
(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table class="infobox" cellspacing="5" style="width: 15em; text-align: left; font-size: 88%; line-height: 2.5em;"><!--
+
<table class="hofbox" cellspacing="3" style="text-align: center; font-size: 95%;;"><!--
-->{{#if:{{{image|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br />
+
--><tr style="line-height: 2.5em;"><th style="text-align: left; width: 5.5em; {{#switch:{{{site|}}}
<span style="{{{captionstyle|}}}">{{{caption}}} }}</span></td></tr>}}<!--
 
--><tr><th style="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">{{{image}}}</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 17:39, 28 July 2016

Session(s):