Difference between revisions of "Template:Ctarailtimes"
(Created page with "<div class="commonshadow" style="display: inline-block; background-color: #FFE0E0; border: 1px solid #888; {{border-radius|0.3em}}; margin: 8px; padding: 4px; max-width:500px;...") |
|||
Line 1: | Line 1: | ||
− | <div class="commonshadow" style="display: inline-block; background-color: # | + | <div class="commonshadow" style="display: inline-block; background-color: #badff5; border: 1px solid #888; {{border-radius|0.3em}}; margin: 8px; padding: 4px; max-width:500px;"> |
{{#set:realtimeinfo=y}}{| cellspacing=0 cellpadding=5 | {{#set:realtimeinfo=y}}{| cellspacing=0 cellpadding=5 | ||
|- | |- | ||
| width=50% | {{{dir1}}} | | width=50% | {{{dir1}}} | ||
− | | style="border-left: 1px solid # | + | | style="border-left: 1px solid #18447b; padding-left: 5px;" width=50% | {{{dir2}}} |
|- | |- | ||
− | | style="border-top: 1px solid # | + | | style="border-top: 1px solid #18447b;" colspan=2 align=center | '''Real time departures:''' |
|- | |- | ||
| valign="top" | {{#if:{{{stopid1|}}}|{{#Widget:ctarailtimes|stopid={{{stopid1|}}}|time=y}}|}} | | valign="top" | {{#if:{{{stopid1|}}}|{{#Widget:ctarailtimes|stopid={{{stopid1|}}}|time=y}}|}} | ||
− | | valign="top" style="border-left: 1px solid # | + | | valign="top" style="border-left: 1px solid #18447b;" | {{#if:{{{stopid2|}}}|{{#Widget:ctarailtimes|stopid={{{stopid2}}}}}|}} |
|- | |- | ||
− | | valign="top" style="border-top: 1px solid # | + | | valign="top" style="border-top: 1px solid #18447b;"| ⇓ ''Next Station: {{{next1}}}'' |
− | | valign="top" style="border-left: 1px solid # | + | | valign="top" style="border-left: 1px solid #18447b; border-top: 1px solid #18447b;" | ⇑ ''Next Station: {{{next2}}}'' |
|} | |} | ||
− | <span style="float: right"> | + | <span style="float: right">Real time data provided by [https://www.transitchicago.com/ CTA]</span></p> |
</div> | </div> |
Revision as of 21:19, 12 May 2024
{{{dir1}}} | {{{dir2}}} |
Real time departures: | |
⇓ Next Station: {{{next1}}} | ⇑ Next Station: {{{next2}}} |