Difference between revisions of "Template:Bangkok MRT lines"

From blackwiki
Jump to navigation Jump to search
imported>Slambo
m (rm "opening ..." from purple - it's open now according to that article)
imported>Primefac
(adding brown, also cleaning up a bit (make lc so no duplicates necessary))
Line 1: Line 1:
{{#switch: {{{1}}}
+
{{#switch: {{lc:{{{1}}}}}
  | MRT Blue ='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''
+
  | mrt blue ='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''
  | Charansanitwong ='''<font color="#{{BTS color|{{{1}}}}}">[[MRT (Bangkok)|MRT Blue Line: Bang Sue-Tha Phra Extension]]</font>'''<br/>''(under construction)''
+
  | charansanitwong ='''<font color="#{{BTS color|{{{1}}}}}">[[MRT (Bangkok)|MRT Blue Line: Bang Sue-Tha Phra Extension]]</font>'''<br/>''(under construction)''
  | Bang Khae ='''<font color="#{{BTS color|{{{1}}}}}">[[MRT (Bangkok)|MRT Blue Line: Hua Lamphong-Bang Khae Extension]]</font>'''<br/>''(under construction)''
+
  | bang khae ='''<font color="#{{BTS color|{{{1}}}}}">[[MRT (Bangkok)|MRT Blue Line: Hua Lamphong-Bang Khae Extension]]</font>'''<br/>''(under construction)''
  
  | MRT Purple ='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''
+
  | mrt purple ='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''
  | MRT Purple Ext ='''<font color="#{{BTS color|{{{1}}}}}">[[MRT Purple Line|MRT Purple Line: Tao Poon-Rat Burana Extension]]</font>'''<br/>'''''(proposed)'''''
+
  | mrt purple ext ='''<font color="#{{BTS color|{{{1}}}}}">[[MRT Purple Line|MRT Purple Line: Tao Poon-Rat Burana Extension]]</font>'''<br/>'''''(proposed)'''''
  
  | MRT Orange | MRT Yellow | MRT Pink | MRT Grey | MRT Light Blue ='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''<br/>''(proposed)''
+
  | mrt orange | mrt yellow | mrt pink | mrt grey | mrt light blue ='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''<br/>''(proposed)''
  
  | Blue | blue | Purple | purple | Orange | orange | Yellow | yellow | Pink | pink | Grey | grey | Light Blue | light blue = <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='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''
 
  | #default='''<font color="#{{BTS color|{{{1}}}}}">[[{{{1}}} Line|{{{1}}}{{#if:{{{2|}}}||&nbsp;Line}}]]</font>'''

Revision as of 04:31, 17 October 2016

[[{{{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”.