Difference between revisions of "Template:RM7"

From Transit.Wiki
m
m
Line 3: Line 3:
 
{|cellspacing=0 cellpadding=0 style="height:20px; float:right;"
 
{|cellspacing=0 cellpadding=0 style="height:20px; float:right;"
 
|-
 
|-
|{{#if:{{{Tl|}}}|<span style="white-space:nowrap; text-align:right; font-size:95%; padding:0 4px 0 0;">{{{Tl|}}}</span>}}
+
|{{#if:{{{Tl|}}}|style="white-space:nowrap; text-align:right; font-size:95%; padding:0 4px 0 0;"{{!}}{{{Tl|}}}| }}
 
|{{#if:{{{Sl2|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sl2|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Ol2|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Ol2}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
|{{#if:{{{Sl2|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sl2|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Ol2|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Ol2}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
|{{#if:{{{Sl1|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sl1|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Ol1|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Ol1}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
|{{#if:{{{Sl1|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sl1|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Ol1|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Ol1}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
Line 11: Line 11:
 
| style="{{#if:{{{Sr|}}}|padding:0; width:20px;|display: none;}}"| {{#if:{{{Sr|}}}|<div style="position: relative;">[[File:BSicon {{{Sr}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Or|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Or}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
| style="{{#if:{{{Sr|}}}|padding:0; width:20px;|display: none;}}"| {{#if:{{{Sr|}}}|<div style="position: relative;">[[File:BSicon {{{Sr}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Or|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Or}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
| align="left" {{#if:{{{Sr|}}}||colspan="2"}}|
 
| align="left" {{#if:{{{Sr|}}}||colspan="2"}}|
{|cellspacing=0 cellpadding=0 style="height:20px;"  
+
{|cellspacing=0 cellpadding=0 style="height:20px; float:left;"  
 
|-
 
|-
 
|{{#if:{{{Sr1|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sr1|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Or1|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Or1}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
|{{#if:{{{Sr1|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sr1|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Or1|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Or1}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
|{{#if:{{{Sr2|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sr2|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Or2|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Or2}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
 
|{{#if:{{{Sr2|}}}|style="width:20px;"{{!}}<div style="position: relative;">[[File:BSicon {{{Sr2|}}}.svg{{!}}link={{!}}20px]]{{#if:{{{Or2|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Or2}}}.svg{{!}}link={{!}}20px]]</div>}}</div>}}
|{{#if:{{{Tr|}}}|<span style="white-space:nowrap; text-align:right; font-size:95%; padding:0 0 0 4px;">{{{Tr|}}}</span>}}
+
|{{#if:{{{Tr|}}}|style="white-space:nowrap; text-align:right; font-size:95%; padding:0 0 0 4px;"{{!}}{{{Tr|}}}| }}
 
|}
 
|}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 17:52, 2 March 2014

Sunnydale
Sunnydale
BSicon uBHFq.svg
BSicon uBHFq.svg
BSicon uBHFq.svg
BSicon uBHFq.svg
BSicon uBHFq.svg
BSicon BHF.svg
23rd Street
Transfer to Caltrain
Test

Use BS icons only from Wikimedia Commons. For Sl, Sc, Sr parameters, use the filename between BS icon and .svg (BSicon uKBHFa.svg) to show icon. Sc is the center, Sl is left of Sc and Sr is right of Sc. Ol, Oc, Or are overlay parameters.

Usage: {{RM|Tl=|Sl=|Sc=|Sr=|Tr=}}