Difference between revisions of "Template:Rail line"
(add mergcol to merge colours) |
m (1 revision) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{#if:{{{hide1|}}}||{{!}} rowspan="{{{rows1|1}}}" style="border-left: 0px none; border-right: 1px #aaa solid; border-top: 1px #aaa solid; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};"{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''Terminus''}} }} | {{#if:{{{hide1|}}}||{{!}} rowspan="{{{rows1|1}}}" style="border-left: 0px none; border-right: 1px #aaa solid; border-top: 1px #aaa solid; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};"{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''Terminus''}} }} | ||
| style="background:#{{{col}}}; border-left: 0px none; border-right: 0px none; border-top:{{#if:{{{mergecol|}}}|0px none|1px #aaa solid}}; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px gray|0px none}};" | | | style="background:#{{{col}}}; border-left: 0px none; border-right: 0px none; border-top:{{#if:{{{mergecol|}}}|0px none|1px #aaa solid}}; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px gray|0px none}};" | | ||
− | {{#if:{{{hidemid|}}}||{{!}} rowspan="{{{rowsmid|1}}}" style="text-align: center; border-left: 1px #aaa solid; border-right: 1px #aaa solid; border-top:solid 1px #aaa; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};" {{!}} {{{route}}}{{#if:{{{lightcol|}}}|<div style="height:8px; background-color:#{{{lightcol}}}; border:none; margin:0;" />}} }} | + | {{#if:{{{hidemid|}}}||{{!}} rowspan="{{{rowsmid|1}}}" style="text-align: center; border-left: 1px #aaa solid; border-right: 1px #aaa solid; border-top:solid 1px #aaa; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};" {{!}} {{{route}}}{{#if:{{{lightcol|}}}|<div style="height:8px; background-color:#{{{lightcol}}}; border:none; margin:0;"></div>}} }} |
| style="background:#{{{col}}}; border-left: 0px none; border-right: 0px none; border-top:{{#if:{{{mergecol|}}}|0px none|1px #aaa solid}}; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px gray|0px none}};" | | | style="background:#{{{col}}}; border-left: 0px none; border-right: 0px none; border-top:{{#if:{{{mergecol|}}}|0px none|1px #aaa solid}}; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px gray|0px none}};" | | ||
{{#if:{{{hide2|}}}||{{!}} rowspan="{{{rows2|1}}}" style="border-left: 1px #aaa solid; border-right: 0px none; border-top: 1px #aaa solid; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};"{{!}}{{#if:{{{next|}}}|{{{next}}}|''Terminus''}} }}<noinclude> | {{#if:{{{hide2|}}}||{{!}} rowspan="{{{rows2|1}}}" style="border-left: 1px #aaa solid; border-right: 0px none; border-top: 1px #aaa solid; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};"{{!}}{{#if:{{{next|}}}|{{{next}}}|''Terminus''}} }}<noinclude> | ||
{{s-end}} | {{s-end}} | ||
− | + | ||
</noinclude> | </noinclude> |
Latest revision as of 08:29, 1 November 2015
Terminus | {{{route}}} | Terminus |