Templat:Rail template doc/doc
Kokitanan
![]() | This is a documentation subpage for Templat:Rail template doc. It may contain usage information, categories and other content that is not part of the original templat page. |
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
[simbanai toud]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
[simbanai toud]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:#Ralat Lua: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;"> <td style="background:#Ralat Lua: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;"> <td style="background:#Ralat Lua: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;"> <td style="background:#Ralat Lua: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;"> <td style="background:#Ralat Lua: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;"> <td style="background:#Ralat Lua: expandTemplate: template "Washington Metro color" does not exist.; border-top:solid 1px gray;">Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Templat:Line link | Red |
Ralat Lua: expandTemplate: template "Washington Metro color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/Washington Metro' not found. | |
Templat:Line link | Blue |
Ralat Lua: expandTemplate: template "Washington Metro color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/Washington Metro' not found. | |
Templat:Line link | Orange |
Ralat Lua: expandTemplate: template "Washington Metro color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/Washington Metro' not found. | |
Templat:Line link | Yellow |
Ralat Lua: expandTemplate: template "Washington Metro color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/Washington Metro' not found. | |
Templat:Line link | Green |
Ralat Lua: expandTemplate: template "Washington Metro color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/Washington Metro' not found. | |
Templat:Line link | Silver |
Ralat Lua: expandTemplate: template "Washington Metro color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/Washington Metro' not found. |
Example with an alias:
{{Rail template doc}}
{{Rail template doc|Amtrak|Amtrak Cascades|Cascades}}
{{Rail template doc||end}}
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Templat:Line link | Amtrak Cascades or Cascades |
223832 |
|
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
[simbanai toud]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}}
Line | Type | Type keys | Color | Hex color | Icon |
---|---|---|---|---|---|
Templat:Line link | Templat:Line link | A |
Ralat Lua: expandTemplate: template "MBTA color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/MBTA' not found. | |
Templat:Line link | Templat:Line link | B |
Ralat Lua: expandTemplate: template "MBTA color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/MBTA' not found. | |
Templat:Line link | Templat:Line link | C |
Ralat Lua: expandTemplate: template "MBTA color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/MBTA' not found. | |
Templat:Line link | Templat:Line link | D |
Ralat Lua: expandTemplate: template "MBTA color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/MBTA' not found. | |
Templat:Line link | Templat:Line link | E |
Ralat Lua: expandTemplate: template "MBTA color" does not exist. |
Ralat Lua pada baris 80 di package.lua: module 'Module:Adjacent stations/MBTA' not found. |