Difference between revisions of "Template:Chennai Metro color"
Jump to navigation
Jump to search
imported>Nirinsanity |
imported>Useddenim (documentation; removed case sensitivity) |
||
| Line 1: | Line 1: | ||
| − | {{#switch:{{{1}}} | + | {{#switch:{{lc:{{{1}}}}} |
| − | | | + | | blue = 3281c4 |
| − | | | + | | green = 53b848 |
| − | | #default = | + | | #default = 4169c8 |
}}<noinclude> | }}<noinclude> | ||
| − | + | {{Documentation}} | |
</noinclude> | </noinclude> | ||
Latest revision as of 03:14, 3 May 2017
4169c8
This template can be used to call the colour of Chennai Metro lines.
In order to call a line's colour, the code #{{Chennai Metro color|colour}} is used (where colour is replaced by the actual route colour). Note that this template is not case sensitive: i.e. {{Chennai Metro color|Blue}} produces the same result as {{Chennai Metro color|blue}}.
{{Chennai Metro color|blue}}
|
Sample: | 3281c4
| |
{{Chennai Metro color|green}}
|
Sample: | 53b848
| |
{{Chennai Metro color|#default}}
|
Sample: | 4169c8
|
| The above documentation is transcluded from Template:Chennai Metro 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. |