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}}}}}
  | m1|1=008542
+
  | 1|m1=008542
  | m2|2=0066a1
+
  | 2|m2=0066a1
  | r2|202|12=fd3f92
+
  | 3|r3=e91a38
  | r3|3=e91a38
+
  | 4|r4|j|jinpu=9b91b1
  | r4|j|jinpu=f3cf45
+
  | 12|202|r2=5f259f
 
  | #default=bbbbbb
 
  | #default=bbbbbb
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 07:55, 7 June 2017

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:   008542
{{DLM color|2}} or …|m2}} Sample:   0066a1
{{DLM color|3}} or …|r3}} Sample:   e91a38
{{DLM color|5}} or …|m5}} Sample:   bbbbbb
{{DLM color|12}} or …|r2}} Sample:   5f259f
{{DLM color|13}} or …|r4}} Sample:   bbbbbb
{{DLM color|#default}} Sample:   bbbbbb