Template:Infobox Line: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
(use {{infobox}} for more standard formatting; separate line name from color background to avoid dealing with fg/bg color clashes)
m (added border around line color for white-colored lines such as Iron Line)
Line 2: Line 2:
| title = {{{name|}}}
| title = {{{name|}}}
| subheader = {{#if: {{{color|}}} |  }}
| subheader = {{#if: {{{color|}}} |  }}
| subheaderstyle = background-color:{{{color}}};
| subheaderstyle = border: 1px solid #AAA; background-color:{{{color}}};


| label1 = Runs
| label1 = Runs

Revision as of 22:49, 26 January 2011

Documentation icon Template documentation[view] [edit] [history] [purge]

Displays basic information for a minecart rail line.

Parameters

color
the color associated with this line
name
the name of the line
runs
general direction of the line
hubs
stations that provide access to other lines
stations
other notable stations

Example

Example Line
 
Runs East-West
Primary Hubs Spawn Station, Middle East Station
Notable Stations Far East Station
{{Infobox Line
| color    = #FFFF00
| name     = Example Line
| runs     = East-West
| stations = Spawn Station, Far East Station
}}