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

From blackwiki
Jump to navigation Jump to search
imported>Survivorfreak
imported>Useddenim
(updated)
Line 1: Line 1:
{{color box|#{{Delhi Metro color|Red}}}} Red
+
{{Documentation subpage}}
{{color box|#{{Delhi Metro color|Green}}}} Green
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{color box|#{{Delhi Metro color|Blue}}}} Blue
+
 
{{color box|#{{Delhi Metro color|Yellow}}}} Yellow
+
This is primarily part of a system of {{tl|S-line}} codependent succession templates, along with {{tl|Delhi Metro lines}} and {{tl|Delhi Metro stations}}.
{{color box|#{{Delhi Metro color|Violet}}}} Violet
+
 
{{color box|#{{Delhi Metro color|Orange}}}} Orange
+
This template can also be used to call the colour of [[Delhi Metro]] lines. In order to call a line’s colour, the code <code> #&#123;&#123;Delhi Metro color|<i>line</i>}}</code>  is used (where ''line'' is replaced by the line’s colour). Note that this template is not case sensitive: i.e. <code><nowiki>{{Delhi Metro color|Red}}</nowiki></code> produces the same result as <code><nowiki>{{Delhi Metro color|red}}</nowiki></code>.
{{color box|#{{Delhi Metro color|Brown}}}} Brown
+
 
{{color box|#{{Delhi Metro color|Magenta}}}} Magenta
+
The following are included in this template:
{{color box|#{{Delhi Metro color|}}}} default
+
 
 +
{| class="wikitable"
 +
|-
 +
{{Color template doc|Red}}
 +
{{Color template doc|Green}}
 +
{{Color template doc|Blue}}
 +
{{Color template doc|Yellow}}
 +
{{Color template doc|Violet}}
 +
{{Color template doc|Orange}}
 +
{{Color template doc|Brown}}
 +
{{Color template doc|Magenta}}
 +
{{Color template doc|default}}
 +
|}<includeonly>
 +
<!-- Categories go here, and interwikis go in Wikidata -->
 +
[[category:Templates for Delhi Metro]]
 +
[[Category:Delhi Metro succession templates|{{PAGENAME}}]]
 +
</includeonly>

Revision as of 12:37, 26 April 2014

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}} Sample:   ff4500
{{Delhi Metro color|Brown}} Sample:   000080
{{Delhi Metro color|Magenta}} Sample:   cc338b
{{Delhi Metro color|default}} Sample:   000080