Difference between revisions of "Template:Budapest Metro color"

From blackwiki
Jump to navigation Jump to search
imported>Sw2nd
(Created page with '{{#switch:{{{1}}} | 1 | M1 = FEDA04 | 2 | M2 = CA161C | 3 | M3 = 025694 | 4 | M4 = 44AA44 | #default=008888 }}<noinclude> [[Category:Budapest Metro template...')
 
imported>Useddenim
(added 5–9 & Documentation)
 
Line 1: Line 1:
{{#switch:{{{1}}}
+
{{#switch:{{lc: {{{1}}} }}
  | 1 | M1 = FEDA04
+
  | 1|m1 = feda04
  | 2 | M2 = CA161C
+
  | 2|m2 = ca161c
  | 3 | M3 = 025694
+
  | 3|m3 = 025694
  | 4 | M4 = 44AA44
+
  | 4|m4 = 44aa44
 +
| 5 = 8A226C
 +
| 6 = 815319
 +
| 7 = F29315
 +
| 8|9 = EC766F
 
  | #default=008888
 
  | #default=008888
 
}}<noinclude>
 
}}<noinclude>
[[Category:Budapest Metro templates]]
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:47, 25 June 2013

008888

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

This is primarily part of a system of {{S-line}} codependent succession templates.

This template can also be used to call the color of Budapest Metro lines.

In order to call a line's color, the code #{{Budapest Metro color|number}} is used (where number is replaced by the actual route number). Note that this template is not case sensitive: i.e. {{Budapest Metro color|Red}} produces the same result as {{Budapest Metro color|red}}.

{{Budapest Metro color|1}} or …|M1}} Sample:   feda04
{{Budapest Metro color|2}} or …|M2}} Sample:   ca161c
{{Budapest Metro color|3}} or …|M3}} Sample:   025694
{{Budapest Metro color|4}} or …|M4}} Sample:   44aa44
{{Budapest Metro color|5}} Sample:   8a226c
{{Budapest Metro color|6}} Sample:   815319
{{Budapest Metro color|7}} Sample:   f29315
{{Budapest Metro color|8}} Sample:   ec766f
{{Budapest Metro color|9}} Sample:   ec766f
{{Budapest Metro color|default}} Sample:   008888