Difference between revisions of "Template:Delhi Metro color"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:Delhi Metro color": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefini...) |
imported>AshuArtsNew (Codes) |
||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
| − | | red= | + | | red=FF4040 |
| − | | green= | + | | green=20B2AA |
| − | | blue= | + | | blue=4169E1 |
| − | | yellow= | + | | yellow=FFDF00 |
| − | | violet= | + | | violet=553592 |
| − | | orange|airport= | + | | orange|airport=FF4500 |
| − | | | + | | grey=838996 |
| − | | pink= | + | | pink=FC8EAC |
| − | | magenta= | + | | magenta=CC338B |
| #default=000080 | | #default=000080 | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:18, 2 January 2020
000080
This is primarily part of a system of {{S-line}} codependent succession templates, along with {{Delhi Metro lines}} and {{Delhi Metro stations}}.
This template can also be used to call the colour of Delhi Metro lines. In order to call a line’s colour, the code #{{Delhi Metro color|line}} is used (where line is replaced by the line’s colour). Note that this template is not case sensitive: i.e. {{Delhi Metro color|Red}} produces the same result as {{Delhi Metro color|red}}.
The following are included in this template:
{{Delhi Metro color|Red}}
|
Sample: | ff4040
| |
{{Delhi Metro color|Green}}
|
Sample: | 20b2aa
| |
{{Delhi Metro color|Blue}}
|
Sample: | 4169e1
| |
{{Delhi Metro color|Yellow}}
|
Sample: | ffdf00
| |
{{Delhi Metro color|Violet}}
|
Sample: | 553592
| |
{{Delhi Metro color|Orange}} or …|Airport}}
|
Sample: | ff4500
| |
{{Delhi Metro color|Pink}}
|
Sample: | fc8eac
| |
{{Delhi Metro color|Magenta}}
|
Sample: | cc338b
| |
{{Delhi Metro color|default}}
|
Sample: | 000080
|
| The above documentation is transcluded from Template:Delhi Metro color/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |