Templat:Infobox rail

[lihat] [sunting] [versi terdahulu] [hapus singgahan] Ikon dokumentasi Dokumentasi templat

UsageSunting

{{{name}}}
{{{other_name}}}
[[Berkas:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=0.91|{{{logo_alt}}}]]
[[Berkas:{{{system_map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1.14|{{{map_alt}}}]]
{{{map_caption}}}
[[Berkas:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.14|{{{image_alt}}}]]
{{{caption}}}
Ikhtisar
Waralaba{{{franchise}}}
{{{nameforarea}}} utama{{{regions}}}
{{{nameforarea}}} lainnya{{{secregions}}}
Armada{{{fleet}}}
Jumlah stasiun total{{{stations}}}
Jumlah stasiun beroperasi{{{stationsop}}}
Induk{{{parent_company}}}
Kantor pusat{{{headquarters}}}
Markah laporan{{{marks}}}
Lokal{{{locale}}}
Tanggal beroperasi{{{start_year}}}–{{{end_year}}}
Pendahulu{{{predecessor_line}}}
Penerus{{{successor_line}}}
Teknis
Lebar sepur{{{gauge}}}
Sepur sebelumnya{{{old_gauge}}}
Elektrifikasi{{{electrification}}}
Panjang jalur{{{length}}}
Panjang rel{{{tracklength}}}
Nomor rel{{{notrack}}}
Kelajuan operasi{{{speed}}}
Ketinggian maksimum{{{elevation}}}
Lain-lain
Situs web{{{website}}}
{{{embedded}}}
{{{map_name}}}
{{{routemap}}}

{{Infobox rail}} adalah kotak info yang digunakan untuk perusahaan kereta api; |railroad_name= adalah satu-satunya parameter wajib. {{Infobox rail line}} digunakan untuk jalur kereta api; terkadang bisa juga dipakai untuk perusahaan kereta api

SintaksisSunting

{{Infobox rail
| name              =
| logo              =
| logo_size         =
| logo_alt          =
| system_map        =
| map_size          =
| map_alt           =
| map_caption       =
| image             =
| image_size        =
| alt               =
| caption           =
| franchise         =
| nameforarea       =
| regions           =
| nameforarea       =
| secregions        =
| fleet             =
| stations          =
| stationsop        =
| parent_company    =
| headquarters      =
| marks             =
| locale            =
| start_year        = <!-- {{Start date|YYYY}} -->
| end_year          = <!-- {{End date|YYYY}} -->
| predecessor_line  = <!-- "predecessors" can also be used; will make label plural -->
| successor_line    = <!-- "successors" can also be used; will make label plural -->
| gauge             = <!-- This needs to be able to handle two current gauges. -->
| old_gauge         = <!-- This needs a separate line -->
| electrification   =
| length            = 
| tracklength       =
| notrack           =
| speed             =
| elevation         =
| website           = <!-- {{URL|example.com}} -->
| embedded          =
| map               =
| map_state         =
| map_name          =
}}

ParameterSunting

Parameter Wajib? Pengertian
railroad_name Ya Nama perusahaan kereta api
logo Tidak Nama berkas logo, cukup gunakan nama berkas saja, tanpa File:.
logo_size Ukuran logo dalam px
logo_alt Teks alternatif
system_map Nama berkas peta
map_caption Takarir peta sistem
map_size Ukuran peta sistem
map_alt Teks alternatif peta
image Nama berkas gambar
image_size Ukuran gambar
image_caption Takarir gambar
image_alt Teks alternatif gambar
marks Markah laporan (hanya Amerika Utara)
locale Daerah operasi perkeretaapian
start_year Tanggal operasi perusahaan, gunakan {{Start date}}
end_year Tanggal penutupan operasi perusahaan, gunakan {{End date}}
predecessor_line Daftar perusahaan yang menjadi pendahulu
successor_line Perusahaan yang meneruskan
gauge Lebar jalur kereta api, gunakan {{Track gauge}})
old_gauge Sepur sebelumnya (gunakan templat {{Track gauge}})
electrification Elektrifikasi jika ada
length Panjang jalur kereta api
hq_city Lokasi kantor pusat
website Situs web, gunakan templat {{URL}}

Menggabungkan kotak info lainSunting

Gunakan parameterembedded=

ContohSunting

Pemakaian Kode Contohnya
Minimum use
{{Infobox rail
|railroad_name=[[Isle of Sodor Railway]]
}}
Isle of Sodor Railway
Logo
{{Infobox rail
| railroad_name=[[Isle of Sodor Railway]]
| logo = No-photo.svg
| logo_size = 300px}}
Isle of Sodor Railway
No-logo.svg
Gambar
{{Infobox rail
| railroad_name = [[Great North of Scotland Railway]]
| image         = Gordon Highlander steam locomotive.jpg
| image_size    = 300px
| image_caption = No. 49 ''Gordon Highlander'', built
  for the [[Great North of Scotland Railway]] in 1920
}}
Great North of Scotland Railway
Gordon Highlander steam locomotive.jpg
No. 49 Gordon Highlander, built for the Great North of Scotland Railway in 1920
Teks
{{Infobox rail
|railroad_name     = [[Great North of Scotland Railway]]
|marks             = FGW
|locale            = North Scotland
|start_year        = {{Start date|1906|5|12}}
|end_year          = {{End date|1923|1|20}}
|predecessor_line  = 
|successor_line    = [[London and North Eastern Railway]]
|gauge             = {{Track gauge|56.5in|allk=on}}
|old_gauge         = {{Track gauge|42in|lk=on}}
|electrification   = 650 [[Volt|V]] [[Direct current|DC]]
|length            = {{convert|50|mi}}
|hq_city           = N/A
|website           = N/A
}}
Great North of Scotland Railway
Ikhtisar
Kantor pusatN/A
Markah laporanFGW
LokalNorth Scotland
Tanggal beroperasi12 Mei 1906 (1906-5-12)20 Januari 1923 (1923-1-20)
PenerusLondon and North Eastern Railway
Teknis
Lebar sepur4 ft 8 12 in (1.435 mm) standard gauge
Sepur sebelumnya3 ft 6 in (1.067 mm)
Elektrifikasi650 V DC
Panjang jalur50 mil (80 km)
Lain-lain
Situs webN/A
Semuanya
{{Infobox rail
| railroad_name = [[Great North of Scotland Railway]]
| logo = No-photo.svg
| system_map    = Temporary placeholder photo.jpg
| image         = Gordon Highlander steam locomotive.jpg
| image_size    = 300px
| image_caption = No. 49 ''Gordon Highlander'', built
 for the [[Great North of Scotland Railway]] in 1920
|marks          = FGW
|locale         = North Scotland
|start_year     = {{Start date|1906|5|12}}
|end_year       = {{End date|1923|1|20}}
|predecessor_line= 
|successor_line = [[London and North Eastern Railway]]
|gauge          = {{Track gauge|56.5in|allk=on}}
|old_gauge      = {{Track gauge|42in|lk=on}}
|electrification= 650 [[Volt|V]] [[Direct current|DC]]
|length         = {{convert|50|mi}}
|hq_city        = N/A
|website        = N/A
}}
Great North of Scotland Railway
Temporary placeholder photo.jpg
Gordon Highlander steam locomotive.jpg
No. 49 Gordon Highlander, built for the Great North of Scotland Railway in 1920
Ikhtisar
Kantor pusatN/A
Markah laporanFGW
LokalNorth Scotland
Tanggal beroperasi12 Mei 1906 (1906-5-12)20 Januari 1923 (1923-1-20)
PenerusLondon and North Eastern Railway
Teknis
Lebar sepur4 ft 8 12 in (1.435 mm) standard gauge
Sepur sebelumnya3 ft 6 in (1.067 mm)
Elektrifikasi650 V DC
Panjang jalur50 mil (80 km)
Lain-lain
Situs webN/A

Kategori pelacakanSunting

Lihat pulaSunting