Difference between revisions of "Template:FCC color"
Jump to navigation
Jump to search
imported>Useddenim ({{1Color template documentation}}) |
imported>Useddenim (added abbreviations; removed case sensitivity) |
||
| Line 1: | Line 1: | ||
| − | {{#switch:{{{1}}} | + | {{#switch:{{lc:{{{1}}}}} |
| − | | | + | | bedford | b = f400a1 |
| − | | | + | | ecml | east | e = f400a1 |
| − | | | + | | king's lynn | kings lynn | kl | k = f400a1 |
| − | | | + | | luton | l = f400a1 |
| − | | | + | | peterborough | p = f400a1 |
| − | | #default= | + | | #default=f400a1 |
}}<noinclude> | }}<noinclude> | ||
| − | {{ | + | {{documentation}}</noinclude> |
| − | |||
| − | |||
| − | |||
Latest revision as of 01:22, 3 December 2014
f400a1
This template is used to call the colour of First Capital Connect routes.
Usage
In order to call a line's colour, the code #{{FCC color|name}} is used (where name is replaced by the actual route name). Note that this template is not case sensitive: i.e. {{FCC color|ECML}} produces the same result as {{FCC color|ecml}}.
{{FCC color|Bedford}} or …|B}}
|
Sample: | f400a1
| |
{{FCC color|ECML}} or …|East}} or …|E}}
|
Sample: | f400a1
| |
{{FCC color|King's Lynn}} or …|KL}} or …|K}}
|
Sample: | f400a1
| |
{{FCC color|Luton}} or …|L}}
|
Sample: | f400a1
| |
{{FCC color|Peterborough}} or …|P}}
|
Sample: | f400a1
| |
{{FCC color|#default}}
|
Sample: | f400a1
|
- When adding a new colour to the template, be sure to add a corresponding row to the sample box above.
- After saving an amendment, Script error: No such module "Purge". to refresh the colour samples.
| The above documentation is transcluded from Template:FCC 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. |