Difference between revisions of "Template:Rail line"

From All About Ayrshire
Jump to: navigation, search
(add mergcol to merge colours)
 
Line 1: Line 1:
<noinclude>{{s-start}}
+
#REDIRECT [[Category talk:Meeep meep meep!]]
</noinclude>|- style="text-align: center;"
 
{{#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}};" | &nbsp;
 
{{#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;" />}} }}
 
| 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}};" | &nbsp;
 
{{#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}}
 
{{documentation}}
 
</noinclude>
 

Revision as of 03:05, 23 October 2015