Difference between revisions of "Template:Adelaide color"
Jump to navigation
Jump to search
blackwiki>Nick Mitchell 98 m (Nick Mitchell 98 moved page Template:Adelaide Metro color to Template:Adelaide color: Move to operator-neutral namespace from obsolete operator name, inspired by Victorian templates.) |
blackwiki>Nick Mitchell 98 |
||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
| belair={{#switch:{{{2}}}|font=ffffff|#default=009900}} | | belair={{#switch:{{{2}}}|font=ffffff|#default=009900}} | ||
| − | | 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=ff0000}} | ||
| grange|outer harbor={{#switch:{{{2}}}|font=ffffff|#default=0072c6}} | | grange|outer harbor={{#switch:{{{2}}}|font=ffffff|#default=0072c6}} | ||
Revision as of 05:34, 26 July 2017
003973
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: | ff0000
| ||
| The above documentation is transcluded from Template:Adelaide color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |