Difference between revisions of "Template:DLM color"
Jump to navigation
Jump to search
imported>ASDFGH |
imported>ASDFGH |
||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
| − | | m1 | + | | 1|m1=008542 |
| − | | m2 | + | | 2|m2=0066a1 |
| − | | | + | | 3|r3=e91a38 |
| − | | | + | | 4|r4|j|jinpu=9b91b1 |
| − | | | + | | 12|202|r2=5f259f |
| #default=bbbbbb | | #default=bbbbbb | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 07:55, 7 June 2017
bbbbbb
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
|
| The above documentation is transcluded from Template:DLM color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |