Skip to content

Template:Aspect

From Whitecoast City Railway Wiki

Shows a signal aspect as a coloured dot, in a sentence or a table. Screen readers read out the aspect's name.

Examples

You type You get
{{Aspect|red}}
{{Aspect|yellow}}
{{Aspect|double yellow}}
{{Aspect|green}}
{{Aspect|red|Stop}}  Stop

A signal aspect as a coloured dot.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Aspect1

red, yellow, double yellow or green.

Suggested values
red yellow double yellow green
Stringrequired
Text2

Words to show after the dot, such as what the aspect means.

Stringoptional