Difference between revisions of "Template:Delhi Metro color"

From blackwiki
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
+
  | red=ff3333
  | Green=339900
+
  | green=339900
  | Blue=0099CC
+
  | blue=0099cc
  | Yellow=FFCC00
+
  | yellow=ffcc00
  | Violet=9400D3
+
  | violet=9400d3
  | Orange=F7943A
+
  | orange=f7943a
  | Brown=800000
+
  | brown=800000
  | Magenta=FF00FF
+
  | magenta=ff00ff
 
  | #default=000080
 
  | #default=000080
 
}}<noinclude>
 
}}<noinclude>
{{Documentation}}
+
{{documentation}}
[[Category:Templates for Delhi Metro]]
 
 
</noinclude>
 
</noinclude>

Revision as of 12:27, 26 April 2014

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:   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