Difference between revisions of "Template:Bangkok MRT lines"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(convert from <font> to <b>)
imported>HyperGaruda
(WP:LINKCOLOR: links should not be coloured nor unnecessarily bolded)
 
Line 1: Line 1:
 
{{#switch: {{lc:{{{1}}}}}
 
{{#switch: {{lc:{{{1}}}}}
  | mrt blue =[[{{{1}}} Line|<b style="color:#{{BTS color|{{{1}}}}}">{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}</b>]]
+
  | mrt blue =[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]
  | charansanitwong =[[MRT (Bangkok)|<b style="color:#{{BTS color|{{{1}}}}}">MRT Blue Line: Bang Sue-Tha Phra Extension</b>]]<br/>''(under construction)''
+
  | charansanitwong =[[MRT (Bangkok)|MRT Blue Line: Bang Sue-Tha Phra Extension]]<br/>''(under construction)''
  | bang khae =[[MRT (Bangkok)|<b style="color:#{{BTS color|{{{1}}}}}">MRT Blue Line: Hua Lamphong-Bang Khae Extension</b>]]<br/>''(under construction)''
+
  | bang khae =[[MRT (Bangkok)|MRT Blue Line: Hua Lamphong-Bang Khae Extension]]<br/>''(under construction)''
  
  | mrt purple =[[{{{1}}} Line|<b style="color:#{{BTS color|{{{1}}}}}">{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}</b>]]
+
  | mrt purple =[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]
  | mrt purple ext =[[MRT Purple Line|<b style="color:#{{BTS color|{{{1}}}}}">MRT Purple Line: Tao Poon-Rat Burana Extension</b>]]<br/>'''''(proposed)'''''
+
  | mrt purple ext =[[MRT Purple Line|MRT Purple Line: Tao Poon-Rat Burana Extension]]<br/>'''''(proposed)'''''
  
  | mrt orange | mrt yellow | mrt pink | mrt grey | mrt light blue =[[{{{1}}} Line|<b style="color:#{{BTS color|{{{1}}}}}">{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}</b>]]<br/>''(proposed)''
+
  | mrt orange | mrt yellow | mrt pink | mrt grey | mrt light blue =[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]<br/>''(proposed)''
  
 
  | blue | purple | orange | yellow | pink | grey | light blue | brown  = <span style="background-color:#{{BTS color|{{{1}}}}}; border:1px solid #{{BTS color|{{{1}}}}};">&nbsp;[[MRT {{{1}}} Line|<span style="color:white; font-weight:bold; font-size:inherit; white-space:nowrap;">{{ucfirst:{{lc:{{{1}}}}}}}</span>]]&nbsp;</span>
 
  | blue | purple | orange | yellow | pink | grey | light blue | brown  = <span style="background-color:#{{BTS color|{{{1}}}}}; border:1px solid #{{BTS color|{{{1}}}}};">&nbsp;[[MRT {{{1}}} Line|<span style="color:white; font-weight:bold; font-size:inherit; white-space:nowrap;">{{ucfirst:{{lc:{{{1}}}}}}}</span>]]&nbsp;</span>
  
  | #default=[[{{{1}}} Line|<b style="color:#{{BTS color|{{{1}}}}}">{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}</b>]]
+
  | #default=[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:00, 19 October 2018

[[{{{1}}} Line|{{{1}}} Line]]

Template documentation[view] [edit] [history] [purge]
{{Bangkok MRT lines|MRT Blue}} MRT Blue Line
{{Bangkok MRT lines|Charansanitwong}} MRT Blue Line: Bang Sue-Tha Phra Extension
(under construction)
{{Bangkok MRT lines|Bang Khae}} MRT Blue Line: Hua Lamphong-Bang Khae Extension
(under construction)
{{Bangkok MRT lines|Blue}}  Blue 
{{Bangkok MRT lines|MRT Purple}} MRT Purple Line
{{Bangkok MRT lines|MRT Purple Ext}} MRT Purple Line: Tao Poon-Rat Burana Extension
(proposed)
{{Bangkok MRT lines|Purple}}  Purple 
{{Bangkok MRT lines|Purple Ext}} Purple Ext Line
{{Bangkok MRT lines|MRT Orange}} MRT Orange Line
(proposed)
{{Bangkok MRT lines|Orange}}  Orange 
{{Bangkok MRT lines|MRT Yellow}} MRT Yellow Line
(proposed)
{{Bangkok MRT lines|Yellow}}  Yellow 
{{Bangkok MRT lines|MRT Pink}} MRT Pink Line
(proposed)
{{Bangkok MRT lines|Pink}}  Pink 
{{Bangkok MRT lines|MRT Grey}} MRT Grey Line
(proposed)
{{Bangkok MRT lines|Grey}}  Grey 
{{Bangkok MRT lines|MRT Light Blue}} MRT Light Blue Line
(proposed)
{{Bangkok MRT lines|Light Blue}}  Light blue 
{{Bangkok MRT lines|Brown}}  Brown 

Optional second parameter (any value) will omit the word “Line”.