Difference between revisions of "Template:Delhi Metro color"
Jump to navigation
Jump to search
imported>Secondarywaltz (fix) |
imported>Useddenim m (removed case sensitivity) |
||
| Line 1: | Line 1: | ||
| − | {{#switch:{{{1}}} | + | {{#switch:{{lc:{{{1}}}}} |
| − | | | + | | red=ff3333 |
| − | | | + | | green=339900 |
| − | | | + | | blue=0099cc |
| − | | | + | | yellow=ffcc00 |
| − | | | + | | violet=9400d3 |
| − | | | + | | orange=f7943a |
| − | | | + | | brown=800000 |
| − | | | + | | magenta=ff00ff |
| #default=000080 | | #default=000080 | ||
}}<noinclude> | }}<noinclude> | ||
| − | {{ | + | {{documentation}} |
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 12:27, 26 April 2014
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: | ff3333
| |
{{Delhi Metro color|Green}}
|
Sample: | 339900
| |
{{Delhi Metro color|Blue}}
|
Sample: | 0099cc
| |
{{Delhi Metro color|Yellow}}
|
Sample: | ffcc00
| |
{{Delhi Metro color|Violet}}
|
Sample: | 9400d3
| |
{{Delhi Metro color|Orange}} or …|Airport}}
|
Sample: | f7943a
| |
{{Delhi Metro color|Pink}}
|
Sample: | 000080
| |
{{Delhi Metro color|Magenta}}
|
Sample: | ff00ff
| |
{{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. |