Difference between revisions of "Template:Cercanías Sevilla color"

From blackwiki
Jump to navigation Jump to search
imported>MSG17
imported>MSG17
 
Line 1: Line 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
  | c-1 = 71c5e8
+
  |c1|c-1 = 71c5e8
  | c-2 = 266923
+
  |c2|c-2 = 266923
  | c-3 = FF0000
+
  |c3|c-3 = FF0000
  | c-4 = 5f259f
+
  |c4|c-4 = 870099
  | c-5 = 1E0C7D
+
  |c5|c-5 = FAB700
 
}}<noinclude>
 
}}<noinclude>
 
{{doc}}</noinclude>
 
{{doc}}</noinclude>

Latest revision as of 11:46, 5 April 2019

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

This template can be used to call the color of Cercanías Sevilla lines. The following are included in this template.

In order to call a line’s color, the code #{{Cercanías Sevilla color|line}} is used (where line is replaced by the actual line name, number or abbreviation). Note that this template is not case sensitive: i.e. {{Cercanías Sevilla color|c-1}} produces the same result as {{Cercanías Sevilla color|C-1}}.

{{Cercanías Sevilla color|c1}} or …|c-1}} Sample:   71c5e8
{{Cercanías Sevilla color|c2}} or …|c-2}} Sample:   266923
{{Cercanías Sevilla color|c3}} or …|c-3}} Sample:   ff0000
{{Cercanías Sevilla color|c4}} or …|c-4}} Sample:   870099
{{Cercanías Sevilla color|c5}} or …|c-5}} Sample:   fab700