Templat:Infobox rail
Templat ini menggunakan Lua: |
Usage
{{{other_name}}} | |||
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=0.91]] | |||
[[File:{{{system_map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1.14]] | |||
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.14]] | |||
Ikhtisar | |||
---|---|---|---|
Waralaba | {{{franchise}}} | ||
{{{nameforarea}}} utama | {{{regions}}} | ||
{{{nameforarea}}} lainnya | {{{secregions}}} | ||
Armada | {{{fleet}}} | ||
Jumlah stasiun | {{{stations}}} | ||
Jumlah stasiun beroperasi | {{{stationsop}}} | ||
Perusahaan 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}}} | ||
Jumlah rel | {{{notrack}}} | ||
Kecepatan operasi | {{{speed}}} | ||
Ketinggian maksimum | {{{elevation}}} | ||
Lain-lain | |||
Situs web | {{{website}}} | ||
{{{embedded}}} | |||
|
{{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
Sintaksis
{{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 = }}
Parameter
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 lain
Gunakan parameterembedded=
Contoh
Pemakaian | Kode | Contohnya | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Minimum use | {{Infobox rail |railroad_name=[[Isle of Sodor Railway]] }} |
|||||||||||||||||||||||||||||||
Logo | {{Infobox rail | railroad_name=[[Isle of Sodor Railway]] | logo = No-photo.svg | logo_size = 300px}} |
|||||||||||||||||||||||||||||||
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 }} |
|||||||||||||||||||||||||||||||
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 }} |
| ||||||||||||||||||||||||||||||
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 }} |
|