Difference between revisions of "Template:Adelaide color"

From blackwiki
Jump to navigation Jump to search
blackwiki>Normangerman
blackwiki>Normangerman
m
Line 6: Line 6:
 
  | seaford|tonsley={{#switch:{{{2}}}|font=ffffff|#default=ff7f00}}
 
  | seaford|tonsley={{#switch:{{{2}}}|font=ffffff|#default=ff7f00}}
 
  | g10={{#switch:{{{2}}}|font=ffffff|#default=ff9933}}
 
  | g10={{#switch:{{{2}}}|font=ffffff|#default=ff9933}}
  | 218={{#switch:{{{2}}}|font=ffffff|#default=757575}}
+
  | g20={{#switch:{{{2}}}|font=ffffff|#default=757575}}
 
  | g21={{#switch:{{{2}}}|font=ffffff|#default=00838f}}
 
  | g21={{#switch:{{{2}}}|font=ffffff|#default=00838f}}
 
  | g30={{#switch:{{{2}}}|font=ffffff|#default=558b2f}}
 
  | g30={{#switch:{{{2}}}|font=ffffff|#default=558b2f}}

Revision as of 07:04, 3 September 2016

003973

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

Usage

This template can be used to call the color of Adelaide train routes.

In order to call a line's colour, the code #{{Adelaide color|name}} is used (where name is replaced by the actual route or corridor name). Note that this template is not case sensitive: i.e. {{Adelaide color|Belair}} produces the same result as {{Adelaide color|belair}}.

Usage

{{Adelaide color|Belair}} Sample:   009900
{{Adelaide color|Gawler}} Sample:   003973
{{Adelaide color|Grange}} or …|Outer Harbor}} Sample:   0072c6
{{Adelaide color|Seaford}} or …|Tonsley}} Sample:   ff7f00
{{Adelaide color|Closed}} Sample:   999999
{{Adelaide color|#default}} Sample:   003973
Tram
{{Adelaide color|Glenelg}} Sample:   ff0000

Template:Rail succession links