Templat:Infobox rail
{{{railroad_name}}} | |
---|---|
Wilayah | {{{locale}}} |
Lebar sepur | {{{gauge}}} |
Templat ini menggunakan Lua: |
Usage
{{{railroad_name}}} | |
---|---|
[[Gambar:{{{logo_filename}}}|{{{logo_size}}}px|logo]] | |
[[Image:{{{system_map}}}|{{{map_size}}}px|System map]] {{{map_caption}}} | |
Kode singkatan | {{{marks}}} |
Wilayah | {{{locale}}} |
Mulai beroperasi | {{{start_year}}} – {{{end_year}}} |
Perusahaan KA pendahulu | {{{predecessor_line}}} |
Perusahaan KA penerus | {{{successor_line}}} |
Lebar sepur | {{{gauge}}} |
Jarak | {{{length}}} |
Kantor pusat | {{{hq_city}}} |
{{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 }} |
|