Difference between revisions of "Template:DongguanRT color"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:DongguanRT color": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
imported>ASDFGH |
||
| Line 1: | Line 1: | ||
{{#switch:{{{1}}} | {{#switch:{{{1}}} | ||
| − | | 1=034ea2 | + | | r1|1=034ea2 |
| − | | 2=ed1C24 | + | | r2|2=ed1C24 |
| − | | 3=faa61a | + | | r3|3=faa61a |
| − | | 4=00ab4e | + | | r4|4=00ab4e |
| #default=bbbbbb | | #default=bbbbbb | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 05:32, 5 May 2018
bbbbbb
Usage
This template can be used to call the color of Dongguan Rail Transit routes. The following are included in this template.
In order to call a line's color, the code #{{DongguanRT 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. {{DongguanRT color|R2}} produces the same result as {{DongguanRT color|r2}}.
{{DongguanRT color|1}} or …|r1}}
|
Sample: | 034ea2
| |
{{DongguanRT color|2}} or …|r2}}
|
Sample: | ed1c24
| |
{{DongguanRT color|3}} or …|r3}}
|
Sample: | faa61a
| |
{{DongguanRT color|4}} or …|r4}}
|
Sample: | 00ab4e
| |
{{DongguanRT color|#default}}
|
Sample: | bbbbbb
|
| The above documentation is transcluded from Template:DongguanRT 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. |