Template:Infobox railway line

From Club Penguin Fanon Wiki
Jump to: navigation, search


[edit] [purge] Documentation icon.PNG Template documentation

Parameter list and definitions[edit]

Parameter Required Definition
box_width No Width of infobox, default: 25em; Note: use auto for automatic width (nb long image captions will not wrap if |box_width=auto is specified)
name No Name of rail line; default:Article Name
color No Color of rail line
logo No Filename of image for the logo
logo_width No Size of logo, default: 200px
logo_alt No Alt text for logo. This should be present if "logo=" is present.
image No Filename of image
image_width No Size of image, default: 250px
image_alt No Alt text for image. This should be present if "image=" is present.
caption No Caption of image
type No Type of transit system. Types may include (one or more):
system No Name of transit system the rail line is part of
status No Status of rail line
start No Name of starting terminal station
end No Name of ending terminal station
stations No Number of stations/stops
stops No Some of the stops the train stops at
routes No Service routes of rail line
trackdistance No ---
trainnumber No ---
linenumber No ---
open No Date rail line opened
close No Date rail line closed
reopen No Date rail line reopened after closure
owner No Owner of rail line
operator No Operator(s) of rail line
character No ---
linelength No Line length (use {{mi to km}} or {{km to mi}} to display both U.S. and metric units, alternatively Template:Convert/kmTemplate:Convert/test/Aon
or Template:Convert/numdisp mi (Template:Convert/km)Template:Convert/test/Aon

)

tracklength No Track length (use {{mi to km}} or {{km to mi}} to display both U.S. and metric units, alternatively Template:Convert/kmTemplate:Convert/test/Aon
or Template:Convert/numdisp mi (Template:Convert/km)Template:Convert/test/Aon

)

notrack No Number of tracks
gauge No Rail gauge (use template – see Category:Rail transport gauge templates)
speed No Maximum or operating speed of the rail line (use {{convert|0|mph|km/h|abbr=on}} or {{convert|0|km/h|mph|abbr=on}} to display both U.S. and metric units))
elevation No Highest elevation of the rail line
maxincline No ---
racksystem No ---
routenumber No ---
map No Map of line
map_name No Title of map; default: Route map
map_state No Shows or hides map. Use show or collapsed

Usage[edit]

Copy and paste[edit]

{{Infobox railway line
 | box_width      = 
 | name           = 
 | color          = 
 | logo           = 
 | logo_width     = 
 | logo_alt       = 
 | image          = 
 | image_width    = 
 | image_alt      = 
 | caption        = 
 | type           = 
 | system         = 
 | status         = 
 | start          = 
 | end            = 
 | stops          = 
 | stations       = 
 | routes         = 
 | trackdistance  = 
 | trainnumber    = 
 | linenumber     = 
 | open           = 
 | close          = 
 | reopen         = 
 | owner          = 
 | operator       = 
 | character      = 
 | linelength     = {{mi to km|0|abbr=yes|precision=2}}
 | tracklength    = {{mi to km|0|abbr=yes|precision=2}}
 | notrack        = 
 | gauge          = {{RailGauge|sg|al=on}}
 | speed          = {{convert|0|mph|km/h|abbr=on}}
 | elevation      = 
 | maxincline     = 
 | racksystem     = 
 | routenumber    = 
 | map            = 
 | map_state      = collapsed
}}