Cèṭa'an:Rail template doc
Robâ
This template creates a wikitable row for documenting line and type parameters for an Adjacent stations data module. It is similar to {{Color template doc}}.
Usage
[beccè' sombher]Note: if the system icon is Non-free content and can only be used on articles with fair use, add |hideicon=true
to suppress showing the icon in the template documentation.
Lines
[beccè' sombher]Standard example with no aliases:
{{Rail template doc}}
{{Rail template doc|Washington Metro|Red}}
{{Rail template doc|Washington Metro|Blue}}
{{Rail template doc|Washington Metro|Orange}}
{{Rail template doc|Washington Metro|Yellow}}
{{Rail template doc|Washington Metro|Green}}
{{Rail template doc|Washington Metro|Silver}}
{{Rail template doc||end}}
Gives:
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Cèṭa'an:Line link | Red |
Cèṭa'an:Rail color |
Cèṭa'an:Rail icon | |
Cèṭa'an:Line link | Blue |
Cèṭa'an:Rail color |
Cèṭa'an:Rail icon | |
Cèṭa'an:Line link | Orange |
Cèṭa'an:Rail color |
Cèṭa'an:Rail icon | |
Cèṭa'an:Line link | Yellow |
Cèṭa'an:Rail color |
Cèṭa'an:Rail icon | |
Cèṭa'an:Line link | Green |
Cèṭa'an:Rail color |
Cèṭa'an:Rail icon | |
Cèṭa'an:Line link | Silver |
Cèṭa'an:Rail color |
Cèṭa'an:Rail icon |
Example with an alias:
{{Rail template doc}}
{{Rail template doc|Amtrak|Amtrak Cascades|Cascades}}
{{Rail template doc||end}}
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Cèṭa'an:Line link | Amtrak Cascades or Cascades |
Cèṭa'an:Rail color |
Cèṭa'an:Rail icon |
Up to 16 aliases can be shown for each row. If there are more than three aliases, some of them are initially hidden in a collapsible container.
Types
[beccè' sombher]Example with types defined:
{{Rail template doc||type}}
{{Rail template doc|MBTA|Green|type=A}}
{{Rail template doc|MBTA|Green|type=B}}
{{Rail template doc|MBTA|Green|type=C}}
{{Rail template doc|MBTA|Green|type=D}}
{{Rail template doc|MBTA|Green|type=E}}
{{Rail template doc||end}}