Difference between revisions of "Template:DLM color"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
imported>ASDFGH
 
Line 1: Line 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
  | 1|m1=008542
+
  | 1|m1=5ba533
  | 2|m2=0066a1
+
  | 2|m2=0d70bd
 
  | 3|r3=e91a38
 
  | 3|r3=e91a38
  | 5|m5=400040
+
  | 5|m5=d97e1c
 
  | 12|r2|202=5f259f
 
  | 12|r2|202=5f259f
  | 13|r4|j|jinpu=9b91b1
+
  | 13|r4|j|jinpu=209285
 
  | #default=bbbbbb
 
  | #default=bbbbbb
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 05:34, 5 May 2018

bbbbbb

Template documentation[view] [edit] [history] [purge]

Usage

This template can be used to call the color of Dalian Metro routes. The following are included in this template.

In order to call a line's color, the code #{{DLM color|line}} is used (where line is replaced by the actual line abbreviation or name). Note that this template is not case sensitive: i.e. {{DLM color|M1}} produces the same result as {{DLM color|m1}}.


{{DLM color|1}} or …|m1}} Sample:   5ba533
{{DLM color|2}} or …|m2}} Sample:   0d70bd
{{DLM color|3}} or …|r3}} Sample:   e91a38
{{DLM color|5}} or …|m5}} Sample:   d97e1c
{{DLM color|12}} or …|r2}} Sample:   5f259f
{{DLM color|13}} or …|r4}} Sample:   209285
{{DLM color|#default}} Sample:   bbbbbb