Difference between revisions of "Template:RM"
m |
m |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
− | | style="padding:0 4px 0 | + | | style="padding:0 4px 0 4px; white-space:nowrap; text-align:right; font-size:95%;" {{#if:{{{Sl|}}}||colspan="2"}}|{{{Tl|}}} |
− | | style=" | + | | style="{{#if:{{{Sl|}}}|padding:0; width:{{{size|20}}}px;|display: none;}}"| {{#if:{{{Sl|}}}|<div style="position: relative;">[[File:BSicon {{{Sl}}}.svg{{!}}link={{!}}{{{size|20}}}px{{!}}alt=]]{{#if:{{{Ol|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Ol}}}.svg{{!}}link={{!}}{{{size|20}}}px{{!}}alt=]]</div>}}</div>}} |
− | | style="padding:0;" | {{#if:{{{Sc|}}}|[[File:BSicon {{{Sc | + | | style="padding:0;" | {{#if:{{{Sc|}}}|<div style="position: relative;">[[File:BSicon {{{Sc}}}.svg{{!}}link={{!}}{{{size|20}}}px{{!}}alt=]]{{#if:{{{Oc|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Oc}}}.svg{{!}}link={{!}}{{{size|20}}}px{{!}}alt=]]</div>}}</div>}} |
− | | style=" | + | | style="{{#if:{{{Sr|}}}|padding:0; width:{{{size|20}}}px;|display: none;}}"| {{#if:{{{Sr|}}}|<div style="position: relative;">[[File:BSicon {{{Sr}}}.svg{{!}}link={{!}}{{{size|20}}}px{{!}}alt=]]{{#if:{{{Or|}}}|<div style="position: absolute; left: 0; top: 0;">[[Image:BSicon {{{Or}}}.svg{{!}}link={{!}}{{{size|20}}}px{{!}}alt=]]</div>}}</div>}} |
| style="padding:0 0 0 4px; white-space:nowrap; text-align:left; font-size:95%;" {{#if:{{{Sr|}}}||colspan="2"}}|{{{Tr|}}} | | style="padding:0 0 0 4px; white-space:nowrap; text-align:left; font-size:95%;" {{#if:{{{Sr|}}}||colspan="2"}}|{{{Tr|}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{|cellspacing=0 cellpadding=0 style="line-height:1.2;" | {|cellspacing=0 cellpadding=0 style="line-height:1.2;" | ||
{{RM|Sc=uKBHFa|Tl={{stn|Sunnydale}}}} | {{RM|Sc=uKBHFa|Tl={{stn|Sunnydale}}}} | ||
− | {{RM|Sc=uBHF|Tl={{stn|23rd Street|San Francisco}}|Tr=''Transfer to Caltrain''}} | + | {{RM|Sc=uBHF|Oc=HUB01|Tl={{stn|23rd Street|San Francisco}}|Tr=''Transfer to Caltrain''}} |
{{RM|Sc=uKBHFe|Tr=Test}} | {{RM|Sc=uKBHFe|Tr=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. | + | 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: <nowiki>{{RM|Tl=|Sl=|Sc=|Sr=|Tr=}}</nowiki> | Usage: <nowiki>{{RM|Tl=|Sl=|Sc=|Sr=|Tr=}}</nowiki> | ||
[[Category:Route diagram templates|#]] | [[Category:Route diagram templates|#]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:39, 13 January 2023
Sunnydale | ||||
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=}}