Difference between revisions of "Template:Delhi Metro color"

From blackwiki
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=ff3333
+
  | red=FF4040
  | green=339900
+
  | green=20B2AA
  | blue=0099cc
+
  | blue=4169E1
  | yellow=ffcc00
+
  | yellow=FFDF00
  | violet=9400d3
+
  | violet=553592
  | orange|airport=f7943a
+
  | orange|airport=FF4500
  | brown=800000
+
  | grey=838996
  | pink=ffcbdb
+
  | pink=FC8EAC
  | magenta=ff00ff
+
  | magenta=CC338B
 
  | #default=000080
 
  | #default=000080
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</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