Template: Infobox STAline: Difference between revisions

From The Shire
Jump to: navigation, search
Taxcuts (talk | contribs)
No edit summary
Taxcuts (talk | contribs)
No edit summary
 
Line 33: Line 33:
<td>{{{status|Operational}}}</td>
<td>{{{status|Operational}}}</td>
</tr>
</tr>
{{#if:{{{locale|}}}|
{{#if:{{{serves|}}}|
<tr>
<tr>
<th>Locale</th>
<th>Serves</th>
<td>{{{locale}}}</td>
<td>{{{serves}}}</td>
</tr>
</tr>
}}
}}
Line 121: Line 121:
| type            =  
| type            =  
| status          =  
| status          =  
| locale         =  
| serves         =  
| start          =  
| start          =  
| end            =  
| end            =  

Latest revision as of 15:14, 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`) based on the STA line color.
  • 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          = 
| serves          = 
| start           = 
| end             = 
| stations        = 
| line_map        = 
| opened          = 
| operator        = 
| length          = 
| electrification = 
}}