Difference between revisions of "Template:Delhi Metro color"

From blackwiki
Jump to navigation Jump to search
imported>Survivorfreak
imported>AshuArtsNew
(Codes)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
+
{{#switch:{{lc:{{{1}}}}}
  | Red=FF3333
+
  | red=FF4040
  | Green=339900
+
  | green=20B2AA
  | Blue=0099CC
+
  | blue=4169E1
  | Yellow=FFCC00
+
  | yellow=FFDF00
  | Violet=9400D3
+
  | violet=553592
  | Orange=F7943A
+
| orange|airport=FF4500
  | Brown=#800000
+
  | grey=838996
  | Magenta=#FF00FF
+
  | pink=FC8EAC
 +
  | magenta=CC338B
 
  | #default=000080
 
  | #default=000080
 
}}<noinclude>
 
}}<noinclude>
{{Documentation}}
+
{{documentation}}
[[Category:Templates for Delhi Metro]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:18, 2 January 2020

000080

Template documentation[view] [edit] [history] [purge]

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