Template:Rail template doc/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Rail template doc. It contains usage information, categories and other content that is not part of the original template 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[edit source]
Lines[edit source]
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 |
---|---|---|---|
Red Line | Red |
E31837 | |
Blue Line | Blue |
0076C0 | |
Orange Line | Orange |
F7941D | |
Yellow Line | Yellow |
FFD200 | |
Green Line | Green |
00A94F | |
Silver Line | Silver |
A1A2A1 |
Example with an alias:
{{Rail template doc}} {{Rail template doc|Amtrak|Amtrak Cascades|Cascades}} {{Rail template doc||end}}
Line | Keys | Color | Hex color |
---|---|---|---|
Amtrak Cascades | 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[edit source]
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}}
Line | Type | Type keys | Color | Hex color |
---|---|---|---|---|
Green Line | Green Line – "A" Branch | A |
00843D | |
Green Line | Green Line – "B" Branch | B |
00843D | |
Green Line | Green Line – "C" Branch | C |
00843D | |
Green Line | Green Line – "D" Branch | D |
00843D | |
Green Line | Green Line – "E" Branch | E |
00843D |
External links[edit source]
- Template:Rail template doc/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.