Template:Infobox 鉄道事故
表示
| Infobox 鉄道事故 |
|---|
鉄道事故の基礎情報を表示するテンプレートです。
使い方
[編集]フォーマット
[編集]| {{{name}}} | |||
|---|---|---|---|
|
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright={{{image_upright}}}|{{{caption}}}]] {{{caption}}} | |||
| 発生日 | {{{date}}} | ||
| 発生時刻 | {{{time}}} | ||
| 国 | {{{country}}} | ||
| 場所 |
{{{location}}} {{{location-city}}}から0km{{{location-dir}}} | ||
| 座標 | {{{coordinates}}} | ||
| 路線 | {{{line}}} | ||
| 運行者 | {{{operator}}} | ||
| 事故種類 | {{{type}}} | ||
| 原因 | {{{cause}}} | ||
| 統計 | |||
| 列車数 | {{{trains}}} | ||
| 乗客数 | {{{pax}}} | ||
| 乗員数 | {{{crew}}} | ||
| 死者 | {{{deaths}}} | ||
| 負傷者 | {{{injuries}}} | ||
| その他の損害 | {{{damage}}} | ||
| |||
{{Infobox 鉄道事故
|title =
|boxwidth =
|image =
|image_width =
|caption =
|date =
|time =
|location =
|location-dist =
|location-dist-mi =
|location-dir =
|location-city =
|coordinates = {{Coord| ... }}
|country =
|line =
|operator =
|type =
|cause =
|trains =
|pax =
|deaths =
|injuries =
|damage =
}}
†が付いた引数は任意入力です:
boxwidth† – Infoboxの幅。既定値は290px(ただし、画像の幅の方が大きい場合は無効)。
画像
[編集]image† – 画像のファイル名 (例:Train-disaster-photo.jpg).image_width† – 画像の幅。既定値は282px。caption† – 画像の説明
詳細
[編集]title– 事故名。通常は記事名を指定。date– 事故が起きた日付time– 事故が起きた時間location– 事故現場。都市名など。
location-dist† – 直近の主要都市からの事故現場の距離数値location-dist-mi† – 上記距離のマイル単位での数値
location-dir† – 直近の主要都市からの事故現場の方角location-city† – 直近の主要都市名
より詳細な事故現場の位置
[編集]以下の引数で事故現場のより詳しい位置を記述する事ができます:
coordinates– 事故現場の位置座標。{{Coord}}など経緯度を表示するテンプレートを使用。country– 事故が起きた国。{{JPN}}(表示:
日本)など国旗と国名を表示するテンプレートを使用。line– 事故が起きた鉄道の路線名operator– 事故を起こした列車の運営者type– 事故の種類(脱線事故など)cause† – 事故原因
統計
[編集]trains– 事故に関係する車両・列車数pax† – 事故に関係する列車の乗客数deaths– 死者数injuries† – 負傷者数damage† – 事故によるその他の損害
座標
[編集]座標入力欄に{{coord|-27.3972|152.8956|display=inline,title}}というふうに、事故現場を示す{{coord}}を記述しdisplay=inline,titleを指定すると、テンプレート内と記事の右上の両方に座標が表示されます。