Difference between revisions of "Template:Stn nav"

From Transit.Wiki
m
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border="1" style="margin: 1em auto 0em auto; font-size:85%;" width=50% class=wikitable
+
{| class="commonshadow wikitable" border="1" style="background-color: #EFEFEF; border: 1px solid #888; {{border-radius|0.3em}}; max-width:500px; margin: 1.5em 4em 1.5em 3em; font-size:85%;"
 
|-
 
|-
|align=right width=30%|{{#if:{{{lstop|}}}|[[adjacent stop::{{{lstop|}}}]]}} {{{lstop note|}}}  
+
|align=right width=30% {{#if:{{{lrspan|}}}|rowspan="{{{lrspan}}}"}}|{{#if:{{{lstop|}}}|[[adjacent stop::{{{lstop|}}}]]<br>}} {{{lstop note|}}}  
|width=3%|&lArr;
+
|width=3% style="background-color:black;color:white;"|&#9664;
 
|align=center|{{{line}}}
 
|align=center|{{{line}}}
|width=3%|&rArr;
+
|width=3% style="background-color:black;color:white;"|&#9654;
|width=30%|{{#if:{{{nstop|}}}|[[adjacent stop::{{{nstop|}}}]]}} {{{nstop note|}}}  
+
|width=30% {{#if:{{{rrspan|}}}|rowspan="{{{rrspan}}}"}}|{{#if:{{{nstop|}}}|[[adjacent stop::{{{nstop|}}}]]<br>}} {{{nstop note|}}}  
 
|-
 
|-
 
{{#if:{{{2 line|}}}|
 
{{#if:{{{2 line|}}}|
{{!}}align=right{{!}}{{#if:{{{2 lstop|}}}|[[adjacent stop::{{{2 lstop|}}}]]}} {{{2 lstop note|}}}  
+
{{!}}align=right {{#ifexpr:{{{lrspan}}}>1|style="display: none;"}}{{!}}{{#if:{{{2 lstop|}}}|[[adjacent stop::{{{2 lstop|}}}]]<br>}} {{{2 lstop note|}}}  
{{!}}&lArr;
+
{{!}}style="background-color:black;color:white;"{{!}}&#9664;
 
{{!}}align=center{{!}}{{{2 line}}}
 
{{!}}align=center{{!}}{{{2 line}}}
{{!}}&rArr;
+
{{!}}style="background-color:black;color:white;"{{!}}&#9654;
{{!}}{{#if:{{{2 nstop|}}}|[[adjacent stop::{{{2 nstop|}}}]]}} {{{2 nstop note|}}}  
+
{{!}}{{#ifexpr:{{{rrspan}}}>1|style="display: none;"}}{{!}}{{#if:{{{2 nstop|}}}|[[adjacent stop::{{{2 nstop|}}}]]<br>}} {{{2 nstop note|}}}  
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{3 line|}}}|
 
{{#if:{{{3 line|}}}|
{{!}}align=right{{!}}{{#if:{{{3 lstop|}}}|[[adjacent stop::{{{3 lstop|}}}]]}} {{{3 lstop note|}}}  
+
{{!}}align=right {{#ifexpr:{{{lrspan}}}>2|style="display: none;"}}{{!}}{{#if:{{{3 lstop|}}}|[[adjacent stop::{{{3 lstop|}}}]]<br>}} {{{3 lstop note|}}}  
{{!}}&lArr;
+
{{!}}style="background-color:black;color:white;"{{!}}&#9664;
 
{{!}}align=center{{!}}{{{3 line}}}
 
{{!}}align=center{{!}}{{{3 line}}}
{{!}}&rArr;
+
{{!}}style="background-color:black;color:white;"{{!}}&#9654;
{{!}}{{#if:{{{3 nstop|}}}|[[adjacent stop::{{{3 nstop|}}}]]}} {{{3 nstop note|}}}  
+
{{!}}{{#ifexpr:{{{rrspan}}}>2|style="display: none;"}}{{!}}{{#if:{{{3 nstop|}}}|[[adjacent stop::{{{3 nstop|}}}]]<br>}} {{{3 nstop note|}}}  
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{4 line|}}}|
 
{{#if:{{{4 line|}}}|
{{!}}align=right{{!}}{{#if:{{{4 lstop|}}}|[[adjacent stop::{{{4 lstop|}}}]]}} {{{4 lstop note|}}}  
+
{{!}}align=right {{#ifexpr:{{{lrspan}}}>3|style="display: none;"}}{{!}}{{#if:{{{4 lstop|}}}|[[adjacent stop::{{{4 lstop|}}}]]<br>}} {{{4 lstop note|}}}
{{!}}&lArr;
+
{{!}}style="background-color:black;color:white;"{{!}}&#9664;
 
{{!}}align=center{{!}}{{{4 line}}}
 
{{!}}align=center{{!}}{{{4 line}}}
{{!}}&rArr;
+
{{!}}style="background-color:black;color:white;"{{!}}&#9654;
{{!}}{{#if:{{{4 nstop|}}}|[[adjacent stop::{{{4 nstop|}}}]]}} {{{4 nstop note|}}}  
+
{{!}}{{#ifexpr:{{{rrspan}}}>3|style="display: none;"}}{{!}}{{#if:{{{4 nstop|}}}|[[adjacent stop::{{{4 nstop|}}}]]<br>}} {{{4 nstop note|}}}  
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
|}
 
|}

Latest revision as of 02:18, 17 September 2018

{{{line}}}