Difference between revisions of "Template:Delhi Metro color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Survivorfreak
imported>MSG17
Line 21: Line 21:
 
|}<includeonly>
 
|}<includeonly>
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 +
[[Category:India rail transport color templates]]
 
[[category:Templates for Delhi Metro]]
 
[[category:Templates for Delhi Metro]]
 
[[Category:Delhi Metro succession templates|{{PAGENAME}}]]
 
[[Category:Delhi Metro succession templates|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 19:13, 7 May 2018

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