本模板用于返回大都会运输署官方指定的线路颜色值。
使用方法
{{MTA color|[名称]|[fg=1]}}
参数说明
输出说明
- 背景色输出的值是16进制RGB颜色值,并包含#号。
- 前景色输出的值是英文单词█black或█white。
- 输出结果详见#全部颜色输出值表。
全部颜色输出值表
名称
|
背景色
|
前景色
|
维基代码
|
输出值
|
维基代码
|
输出值
|
MTA
|
{{MTA color|MTA}}
|
█#000000
|
{{MTA color|MTA|fg=1}}
|
█white
|
名称
|
背景色
|
前景色
|
维基代码
|
输出值
|
维基代码
|
输出值
|
1
|
{{MTA color|1}}
|
█#EE352E
|
{{MTA color|1|fg=1}}
|
█white
|
2
|
{{MTA color|2}}
|
█#EE352E
|
{{MTA color|2|fg=1}}
|
█white
|
3
|
{{MTA color|3}}
|
█#EE352E
|
{{MTA color|3|fg=1}}
|
█white
|
4
|
{{MTA color|4}}
|
█#00933C
|
{{MTA color|4|fg=1}}
|
█white
|
5
|
{{MTA color|5}}
|
█#00933C
|
{{MTA color|5|fg=1}}
|
█white
|
6
|
{{MTA color|6}}
|
█#00933C
|
{{MTA color|6|fg=1}}
|
█white
|
7
|
{{MTA color|7}}
|
█#B933AD
|
{{MTA color|7|fg=1}}
|
█white
|
S42
|
{{MTA color|S42}}
|
█#808183
|
{{MTA color|S42|fg=1}}
|
█white
|
名称
|
背景色
|
前景色
|
维基代码
|
输出值
|
维基代码
|
输出值
|
A
|
{{MTA color|A}}
|
█#0039A6
|
{{MTA color|A|fg=1}}
|
█white
|
B
|
{{MTA color|B}}
|
█#FF6319
|
{{MTA color|B|fg=1}}
|
█white
|
C
|
{{MTA color|C}}
|
█#0039A6
|
{{MTA color|C|fg=1}}
|
█white
|
D
|
{{MTA color|D}}
|
█#FF6319
|
{{MTA color|D|fg=1}}
|
█white
|
E
|
{{MTA color|E}}
|
█#0039A6
|
{{MTA color|E|fg=1}}
|
█white
|
F
|
{{MTA color|F}}
|
█#FF6319
|
{{MTA color|F|fg=1}}
|
█white
|
G
|
{{MTA color|G}}
|
█#6CBE45
|
{{MTA color|G|fg=1}}
|
█white
|
J
|
{{MTA color|J}}
|
█#996633
|
{{MTA color|J|fg=1}}
|
█white
|
L
|
{{MTA color|L}}
|
█#A7A9AC
|
{{MTA color|L|fg=1}}
|
█white
|
M
|
{{MTA color|M}}
|
█#FF6319
|
{{MTA color|M|fg=1}}
|
█white
|
N
|
{{MTA color|N}}
|
█#FCCC0A
|
{{MTA color|N|fg=1}}
|
█black
|
Q
|
{{MTA color|Q}}
|
█#FCCC0A
|
{{MTA color|Q|fg=1}}
|
█black
|
R
|
{{MTA color|R}}
|
█#FCCC0A
|
{{MTA color|R|fg=1}}
|
█black
|
SF
|
{{MTA color|SF}}
|
█#808183
|
{{MTA color|SF|fg=1}}
|
█white
|
SR
|
{{MTA color|SR}}
|
█#808183
|
{{MTA color|SR|fg=1}}
|
█white
|
T
|
{{MTA color|T}}
|
█#00ADD0
|
{{MTA color|T|fg=1}}
|
█white
|
W
|
{{MTA color|W}}
|
█#FCCC0A
|
{{MTA color|W|fg=1}}
|
█black
|
Z
|
{{MTA color|Z}}
|
█#996633
|
{{MTA color|Z|fg=1}}
|
█white
|
名称
|
背景色
|
前景色
|
维基代码
|
输出值
|
维基代码
|
输出值
|
S
|
{{MTA color|S}}
|
█#808183
|
{{MTA color|S|fg=1}}
|
█white
|
名称
|
背景色
|
前景色
|
维基代码
|
输出值
|
维基代码
|
输出值
|
Babylon Branch
|
{{MTA color|Babylon Branch}}
|
█#00985F
|
{{MTA color|Babylon Branch|fg=1}}
|
█white
|
Belmont Branch
|
{{MTA color|Belmont Branch}}
|
█#60269E
|
{{MTA color|Belmont Branch|fg=1}}
|
█white
|
City Terminal Zone
|
{{MTA color|City Terminal Zone}}
|
█#4D5357
|
{{MTA color|City Terminal Zone|fg=1}}
|
█white
|
Far Rockaway Branch
|
{{MTA color|Far Rockaway Branch}}
|
█#6E3219
|
{{MTA color|Far Rockaway Branch|fg=1}}
|
█white
|
Hempstead Branch
|
{{MTA color|Hempstead Branch}}
|
█#CE8E00
|
{{MTA color|Hempstead Branch|fg=1}}
|
█white
|
Long Beach Branch
|
{{MTA color|Long Beach Branch}}
|
█#FF6319
|
{{MTA color|Long Beach Branch|fg=1}}
|
█white
|
Montauk Branch
|
{{MTA color|Montauk Branch}}
|
█#006983
|
{{MTA color|Montauk Branch|fg=1}}
|
█white
|
Oyster Bay Branch
|
{{MTA color|Oyster Bay Branch}}
|
█#00AF3F
|
{{MTA color|Oyster Bay Branch|fg=1}}
|
█white
|
Port Jefferson Branch
|
{{MTA color|Port Jefferson Branch}}
|
█#0039A6
|
{{MTA color|Port Jefferson Branch|fg=1}}
|
█white
|
Port Washington Branch
|
{{MTA color|Port Washington Branch}}
|
█#C60C30
|
{{MTA color|Port Washington Branch|fg=1}}
|
█white
|
Ronkonkoma Branch
|
{{MTA color|Ronkonkoma Branch}}
|
█#A626AA
|
{{MTA color|Ronkonkoma Branch|fg=1}}
|
█white
|
West Hempstead Branch
|
{{MTA color|West Hempstead Branch}}
|
█#00A1DE
|
{{MTA color|West Hempstead Branch|fg=1}}
|
█white
|
名称
|
背景色
|
前景色
|
维基代码
|
输出值
|
维基代码
|
输出值
|
Harlem Line
|
{{MTA color|Harlem Line}}
|
█#0039A6
|
{{MTA color|Harlem Line|fg=1}}
|
█white
|
Hudson Line
|
{{MTA color|Hudson Line}}
|
█#009B3A
|
{{MTA color|Hudson Line|fg=1}}
|
█white
|
New Haven Line
|
{{MTA color|New Haven Line}}
|
█#EE0034
|
{{MTA color|New Haven Line|fg=1}}
|
█white
|
Pascack Valley Line
|
{{MTA color|Pascack Valley Line}}
|
█#8E258D
|
{{MTA color|Pascack Valley Line|fg=1}}
|
█white
|
Port Jervis Line
|
{{MTA color|Port Jervis Line}}
|
█#FF7900
|
{{MTA color|Port Jervis Line|fg=1}}
|
█white
|
桥隧
名称
|
背景色
|
前景色
|
维基代码
|
输出值
|
维基代码
|
输出值
|
EZPass
|
{{MTA color|EZPass}}
|
█#6E267B
|
{{MTA color|EZPass|fg=1}}
|
█white
|
相关页面