Template: Infobox STAline: Difference between revisions
From The Shire
No edit summary |
No edit summary |
||
| Line 115: | Line 115: | ||
{{Infobox STAline | {{Infobox STAline | ||
| name = | | name = | ||
| color = | text_color = | image = | | color = | ||
| text_color = | |||
| image = | |||
| image_width = | | image_width = | ||
| system = | | system = | ||
Revision as of 15:05, 8 June 2025
Usage
This infobox is for individual train, metro, or other transit lines. Paste the code below onto a page and fill in the desired fields.
Color Parameters
- color: Sets the background color for all headers. Use a 6-digit hexadecimal code (e.g., `#FF55FF`).
- text_color: Manually set the text color for the headers. Use `white` for dark backgrounds and `black` for light backgrounds. It defaults to black if left blank.
Blank Syntax
{{Infobox STAline
| name =
| color =
| text_color =
| image =
| image_width =
| system =
| type =
| status =
| locale =
| start =
| end =
| stations =
| line_map =
| opened =
| operator =
| length =
| electrification =
}}
Example
{{Infobox STAline
| name = Cerelia Line
| color = #FF55FF
| text_color = white
| system = Server Transit Authority
| type = Metro
| status = Operational
| locale = Cerelia, Capital City
| start = Central Station
| end = West Cerelia
| stations = 8
}}