قالب:Rail template doc/doc

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

Lines

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:

<td style="background:#خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;">  
LineKeysColorHex color
خطأ لوا: expandTemplate: template "Washington Metro lines" does not exist. Red خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.
خطأ لوا: expandTemplate: template "Washington Metro lines" does not exist. Blue خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.
خطأ لوا: expandTemplate: template "Washington Metro lines" does not exist. Orange خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.
خطأ لوا: expandTemplate: template "Washington Metro lines" does not exist. Yellow خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.
خطأ لوا: expandTemplate: template "Washington Metro lines" does not exist. Green خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.
خطأ لوا: expandTemplate: template "Washington Metro lines" does not exist. Silver خطأ لوا: expandTemplate: template "Washington Metro color" does not exist.

Example with an alias:

{{Rail template doc}}
{{Rail template doc|Amtrak|Amtrak Cascades|Cascades}}
{{Rail template doc||end}}
LineKeysColorHex color
Amtrak Cascades Amtrak Cascades or Cascades   288067

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

Example with types defined:

{{Rail template doc||type}}
{{Rail template doc|MBTA|Green|A}}
{{Rail template doc|MBTA|Green|B}}
{{Rail template doc|MBTA|Green|C}}
{{Rail template doc|MBTA|Green|D}}
{{Rail template doc|MBTA|Green|E}}
{{Rail template doc||end}}
<td style="background:#خطأ لوا: expandTemplate: template "MBTA color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "MBTA color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "MBTA color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "MBTA color" does not exist.; border-top:solid 1px gray;">   <td style="background:#خطأ لوا: expandTemplate: template "MBTA color" does not exist.; border-top:solid 1px gray;">  
LineTypeType keysColorHex color
خطأ لوا: expandTemplate: template "MBTA lines" does not exist. خطأ لوا: expandTemplate: template "MBTA lines" does not exist. A خطأ لوا: expandTemplate: template "MBTA color" does not exist.
خطأ لوا: expandTemplate: template "MBTA lines" does not exist. خطأ لوا: expandTemplate: template "MBTA lines" does not exist. B خطأ لوا: expandTemplate: template "MBTA color" does not exist.
خطأ لوا: expandTemplate: template "MBTA lines" does not exist. خطأ لوا: expandTemplate: template "MBTA lines" does not exist. C خطأ لوا: expandTemplate: template "MBTA color" does not exist.
خطأ لوا: expandTemplate: template "MBTA lines" does not exist. خطأ لوا: expandTemplate: template "MBTA lines" does not exist. D خطأ لوا: expandTemplate: template "MBTA color" does not exist.
خطأ لوا: expandTemplate: template "MBTA lines" does not exist. خطأ لوا: expandTemplate: template "MBTA lines" does not exist. E خطأ لوا: expandTemplate: template "MBTA color" does not exist.