Colour (data page)
{{Rail color|line=1 |system=example}}

{{Rail color}}


{{Rail color/sandbox}}


Named args (data page)
{{Rail color|line=Island |system=MTR}}

{{Rail color}}


{{Rail color/sandbox}}


Unnamed args (data page)
{{Rail color|MTR|Island}}

{{Rail color}}

007DC5

{{Rail color/sandbox}}

007DC5

Non-Lua (data page)
{{Rail color|LUL|Circle}}

{{Rail color}}

ffcd00

{{Rail color/sandbox}}

ffcd00

type (data page)
{{Rail color|Taoyuan Metro|Airport|Commuter}}

{{Rail color}}

0057b8

{{Rail color/sandbox}}

0057b8

_default (data page)
{{Rail color|Taiwan Railways|Liujia}}

{{Rail color}}

090980

{{Rail color/sandbox}}

090980

Sole line default (data page)
{{Rail color|Taiwan High Speed Rail}}

{{Rail color}}

c35617

{{Rail color/sandbox}}

c35617