Шаблон:Infobox bus accident/doc
Зоҳир
Usage
[вироиши манбаъ]All parameters are necessary with the exception of those marked †:
boxwidth
† – width of infobox; default is 290px (the image can push the box wider).
Image section
[вироиши манбаъ]image
† – name of the image file (e.g.Bus-disaster-photo.jpg
).image_width
† – width of image; default is 282px.caption
† – a caption to explain the image, if needed (not to state the obvious).
Details section
[вироиши манбаъ]title
– name of the bus incident, usually the same as the title of the articledate
– date of the incident in plain text (e.g. 1 January 1980 or January 1 1980, depending on local custom)time
† – time of the incidentlocation
– location (suburb) of where the incident occurred, wiki-linked for convenience if necessary (e.g.[[Camp Mountain, Queensland]]
)
location-dist
† – direct distance (not rail distance) from capital city as a plain number, limited to two decimal points (e.g.49.53
,49.5
or50
; no need to be too accurate with decimal points if distance is some hundreds of kilometers away, e.g.349
not349.1
)location-dist-mi
† – as above, but where metric measurements are not used; will return a conversion of miles into kilometers
location-dir
† – direction from capital city as a simple letter abbreviation (e.g.N
,NW
orNNW
)location-city
† – name of capital city of the state the incident occurred in, wiki-linked and piped if necessary for convenience (e.g.[[Brisbane]]
or[[Perth, Western Australia|]]
) – pipe the location if the link contains the country, and usecountry
below
Location placement
[вироиши манбаъ]The following should all be used together, however location-dist
(or location-dist-mi
) is the element to cause this to work/appear:
country
† – provide the country, as a "shortcut" flag template, where the incident occurred (e.g.{{NIC}}
[returns Nicaragua], or{{AUS}}
[returns Австралия]) – see Гурӯҳ:Flag templatesline
† – bus line or route the incident occurred on, wiki-linked and piped for convenience if an article has been created for it (e.g.[[Metro Quickbus Line]]
)operator
† – operator of the bus in the incidentowner
† - owner of bus in the incidenttype
† – type of incident (e.g.Collision
)cause
† – cause of the incident if officially found/released (e.g.Excessive speed
)
Statistics section
[вироиши манбаъ]buses
† – number of buses involved in the incidentother
† - number of other vehicles involved in incidentpax
† – number of passengers on-boardpeds
† - number of pedestrians involveddeaths
– number of deaths due to the incident (usually passengers on the bus and driver)injuries
† – number of injured due to the incident (usually passengers on the bus and driver)damage
† – damage to vehicles caused by the incidentproperty
† – damage to property (other than vehicles) caused by the incident
Co-ordinates
[вироиши манбаъ]Use, for example, {{coord|-27.3972|152.8956|display=title}}
at the bottom of the page of the incident before categories (not in the Infobox) to provide the co-ordinates of where the incident occurred which, with display=title
, will be displayed at the top of the article, above the Infobox.
Complete list
[вироиши манбаъ]{{Infobox bus accident |title = |boxwidth = |image = |image_width = |caption = |date = |time = |location = |location-dist = |location-dist-mi = |location-dir = |location-city = |country = |line = |operator = |owner = |type = |cause = |buses = |other = |pax = |peds = |deaths = |injuries = |damage = |property = }}