Difference between revisions of "Template:Infobox bus accident"
Jump to navigation
Jump to search
imported>Folklore1 (infobox & doc borrowed from rail with some revisions for bus) |
imported>Hbdragon88 m (add noinclude) |
||
| Line 82: | Line 82: | ||
! Property damage | ! Property damage | ||
{{!}} {{{property}}} }} | {{!}} {{{property}}} }} | ||
| − | |} | + | |}<noinclude> |
{{Documentation subpage}} | {{Documentation subpage}} | ||
| Line 153: | Line 153: | ||
}}</pre> | }}</pre> | ||
| − | + | {{documentation}}<!-- Please add categories and interwikis to the /doc subpage. Thank you --> | |
[[ca:Plantilla:Infotaula accident d'autocar]] | [[ca:Plantilla:Infotaula accident d'autocar]] | ||
[[th:แม่แบบ:กล่องข้อมูล อุบัติเหตุจากยานพาหนะ]] | [[th:แม่แบบ:กล่องข้อมูล อุบัติเหตุจากยานพาหนะ]] | ||
</noinclude> | </noinclude> | ||
Revision as of 04:40, 5 April 2010
| Title of bus disaster | |
|---|---|
| [[Image: |282px]] | |
| {{{caption}}} | |
| Details | |
| Date | {{{date}}} |
| Location | {{{location}}} |
| Country | {{{country}}} |
| Bus route or line | {{{line}}} |
| Bus operator | {{{operator}}} |
| Bus owner | {{{owner}}} |
| Type of incident | {{{type}}} |
| Statistics | |
| Buses | {{{buses}}} |
| Deaths | {{{deaths}}} |
Contents
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.5or50; no need to be too accurate with decimal points if distance is some hundreds of kilometers away, e.g.349not349.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,NWorNNW)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 usecountrybelow
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 Template:NIC], or{{AUS}}[returns
Australia]) – see Category: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 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 =
}}
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
ca:Plantilla:Infotaula accident d'autocar th:แม่แบบ:กล่องข้อมูล อุบัติเหตุจากยานพาหนะ