Difference between revisions of "Template:Adelaide color"

From blackwiki
Jump to navigation Jump to search
blackwiki>Nick Mitchell 98
blackwiki>Nick Mitchell 98
Line 2: Line 2:
 
  | belair={{#switch:{{{2}}}|font=ffffff|#default=009900}}
 
  | belair={{#switch:{{{2}}}|font=ffffff|#default=009900}}
 
  | gawler|gawler central={{#switch:{{{2}}}|font=ffffff|#default=9c2727}}
 
  | gawler|gawler central={{#switch:{{{2}}}|font=ffffff|#default=9c2727}}
  | glenelg={{#switch:{{{2}}}|font=ffffff|#default=ff0000}}
+
  | glenelg={{#switch:{{{2}}}|font=ffffff|#default=eb2127}}
 
  | grange|outer harbor={{#switch:{{{2}}}|font=ffffff|#default=0072c6}}
 
  | grange|outer harbor={{#switch:{{{2}}}|font=ffffff|#default=0072c6}}
 
  | seaford|tonsley={{#switch:{{{2}}}|font=ffffff|#default=ff7f00}}
 
  | seaford|tonsley={{#switch:{{{2}}}|font=ffffff|#default=ff7f00}}

Revision as of 12:33, 13 September 2017

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:   9c2727
{{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:   eb2127

Template:Rail succession links