Difference between revisions of "Template:Amsterdam Metro color"
Jump to navigation
Jump to search
blackwiki>Sw2nd (←Created page with '{{#switch:{{{1}}} |50 |Line 50 = 3AA644 |51 |Line 51 = F2922C |52 |Line 52 = 43C2F4 |53 |Line 53 = E20224 |54 |Line 54 = FFEE00 | #default = 0A62B4 }}<noin...') |
blackwiki>Useddenim (removed case sensitivity) |
||
| Line 1: | Line 1: | ||
| − | {{#switch:{{{1}}} | + | {{#switch:{{lc:{{{1}}}}} |
| − | |50 | | + | | 50 | line 50 = 3aa644 |
| − | |51 | | + | | 51 | line 51 = f2922c |
| − | |52 | | + | | 52 | line 52 = 43c2f4 |
| − | |53 | | + | | 53 | line 53 = e20224 |
| − | |54 | | + | | 54 | line 54 = ffee00 |
| − | | #default | + | | #default = 0a62b4 |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 17:59, 11 February 2019
0a62b4
This is part of a system of {{S-line}} codependent Amsterdam Metro succession templates.
This template can also be used to call the colour of Amsterdam Metro services.
In order to call a line's colour, the code #{{Amsterdam Metro color|line}} is used (where line is replaced by the actual line number).
This template is not case sensitive: i.e. {{Amsterdam Metro color|LINE 50}} produces the same result as {{Amsterdam Metro color|line 50}}.
{{Amsterdam Metro color|50}} or …|Line 50}}
|
Sample: | 3aa644
| |
{{Amsterdam Metro color|51}} or …|Line 51}}
|
Sample: | f2922c
| |
{{Amsterdam Metro color|52}} or …|Line 52}}
|
Sample: | 43c2f4
| |
{{Amsterdam Metro color|53}} or …|Line 53}}
|
Sample: | e20224
| |
{{Amsterdam Metro color|54}} or …|Line 54}}
|
Sample: | ffee00
| |
{{Amsterdam Metro color|#default}}
|
Sample: | 0a62b4
|
| The above documentation is transcluded from Template:Amsterdam Metro 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. |