Difference between revisions of "Template:NCTDrailtimes"
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="display: inline-block; background-color: #D1EFEF; border: 1px solid #888; {{box-shadow|1px|1px|2px|#444}}; {{border-radius|0.3em}}; margin: 8px; padding: 4px;"> | <div style="display: inline-block; background-color: #D1EFEF; border: 1px solid #888; {{box-shadow|1px|1px|2px|#444}}; {{border-radius|0.3em}}; margin: 8px; padding: 4px;"> | ||
− | {| cellspacing=0 cellpadding=5 | + | {{#set:realtimeinfo=y}}{| cellspacing=0 cellpadding=5 |
|- | |- | ||
| width=50% | {{{dir1}}} | | width=50% | {{{dir1}}} | ||
Line 7: | Line 7: | ||
| style="border-top: 1px solid #4282A3;" colspan=2 align=center | '''Real time departures:''' | | style="border-top: 1px solid #4282A3;" colspan=2 align=center | '''Real time departures:''' | ||
|- | |- | ||
− | | colspan=2 valign="top" | {{#Widget: | + | | {{#if:{{{stopid2|}}}||colspan=2}} valign="top" | {{#if:{{{stopid1|}}}|{{#Widget:ObaTimes|service=sd_obastoptimes|stopid={{{stopid1|}}}|time=y}}|}} |
+ | | valign="top" style="{{#if:{{{stopid2|}}}||display:none;}} border-left: 1px solid #4282A3;" | {{#if:{{{stopid2|}}}|{{#Widget:ObaTimes|service=sd_obastoptimes|stopid={{{stopid2|}}}|wait=y}}|}}<p style="font-size:70%;"><span style="float: right">Data provided by NCTD</span></p> | ||
|- | |- | ||
| valign="top" style="border-top: 1px solid #4282A3;"| ⇓ ''Next Station: {{{next1}}}'' | | valign="top" style="border-top: 1px solid #4282A3;"| ⇓ ''Next Station: {{{next1}}}'' |
Latest revision as of 08:02, 8 May 2024
{{{dir1}}} | {{{dir2}}} |
Real time departures: | |
⇓ Next Station: {{{next1}}} | ⇑ Next Station: {{{next2}}} |