Difference between revisions of "Template:Adelaide color"

From blackwiki
Jump to navigation Jump to search
blackwiki>Normangerman
m
blackwiki>Normangerman
Line 7: Line 7:
 
  | g10={{#switch:{{{2}}}|font=ffffff|#default=ff9933}}
 
  | g10={{#switch:{{{2}}}|font=ffffff|#default=ff9933}}
 
  | 218={{#switch:{{{2}}}|font=ffffff|#default=757575}}
 
  | 218={{#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}}
  | N10={{#switch:{{{2}}}|font=000000|#default=f9a825}}
+
  | n10={{#switch:{{{2}}}|font=000000|#default=f9a825}}
  | N21={{#switch:{{{2}}}|font=ffffff|#default=00838f}}
+
  | n21={{#switch:{{{2}}}|font=ffffff|#default=00838f}}
 
  | 100={{#switch:{{{2}}}|font=ffffff|#default=66bb6a}}
 
  | 100={{#switch:{{{2}}}|font=ffffff|#default=66bb6a}}
 
  | 200={{#switch:{{{2}}}|font=ffffff|#default=a54399}}
 
  | 200={{#switch:{{{2}}}|font=ffffff|#default=a54399}}

Revision as of 07:02, 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