Template:Infobox Line: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
(move documentation to /doc page)
m (Reverted edits by 211.46.97.1 (talk) to last revision by QuidProQuo)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class=infobox width=240px
<includeonly>{{Infobox
|style="background:{{{color|#edc}}};" colspan=2 align=center| '''{{{name|Unnamed Line}}}'''
| title = {{{name|}}}
| subheader = {{#if: {{{color|}}} | &nbsp;}}
| subheaderstyle = border: 1px solid #AAA; background-color:{{{color}}};


|-
| label1 = Runs
| '''Runs''' || {{{runs|North-South}}}
| data1 = {{{runs|}}}
|-
| label2 = Primary Hubs
| '''Primary Hubs''' || {{{hubs|(none)}}}
| data2 = {{{hubs|}}}
|-
| label3 = Notable Stations
| '''Notable Stations''' || {{{stations|(none)}}}
| data3 = {{{stations|}}}
|}</includeonly>
}}</includeonly><noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 21:45, 6 July 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
}}