Templat:Infobox rail: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Midori (bicara | kontrib)
Tidak ada ringkasan suntingan
RaFaDa20631 (bicara | kontrib)
kTidak ada ringkasan suntingan
 
(12 revisi perantara oleh 4 pengguna tidak ditampilkan)
Baris 1:
{{Infobox
{| class="infobox bordered" style="width: 23em; text-align: left; font-size: 90%"
| subbox = {{{subbox|}}}
|-
| headerstyle= background-color: #efefef
!colspan="2" style="font-size: large; text-align:center" bgcolor="#cc9966" | '''{{{railroad_name}}}'''
 
|-
|title = {{{name|{{{railroad_name|}}}}}}
{{#if: {{{logo_filename|}}}|
| subheader = {{{other_name|}}}
{{!}} colspan="2" align="center" {{!}} [[Gambar:{{{logo_filename|}}}|{{#if:{{{logo_size|}}}|{{{logo_size|}}}|{{#ifeq:{{{logo_filename|}}}|no image.png|1|200}}}}px|logo]]}}
 
|-
|image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{logo_filename|}}}}}}|size={{{logo_size|}}}|sizedefault=frameless|upright=0.91|alt={{{logo_alt|}}}}}
{{#if: {{{system_map|}}}|
|caption1 = {{#if:{{{image|{{{image_filename|}}}}}}||{{{caption|{{{image_caption|}}}}}}}}
{{!}} colspan="2" align="center" {{!}} [[Image:{{{system_map}}}|{{{map_size|250}}}px|System map]]{{#if: {{{map_caption|}}}|<br><small>{{{map_caption}}}</small> }} }}
 
|-
|image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{system_map|}}}|size={{{map_size|}}}|sizedefault=frameless|upright=1.14|alt={{{map_alt|}}}}}
{{#if: {{{marks|}}}|
|caption2 = {{{map_caption|}}}
! Kode singkatan
 
{{!}} {{{marks|}}}}}
|image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image_filename|}}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.14|alt={{{image_alt|{{{alt|}}}}}}}}
|-
|caption3 = {{{caption|{{{image_caption|}}}}}}
! Wilayah
 
| {{{locale}}}
|header1 = {{#if:{{{marks|{{{abbr|}}}}}}{{{locale|}}}{{{start_year|{{{founded|}}}}}}{{{end_year|{{{defunct|}}}}}}{{{predecessor_line|}}}{{{predecessors|}}}{{{predecessor|}}}{{{successor_line|}}}{{{successors|}}}{{{successor|}}}{{{headquarters|{{{hq_city|}}}}}}|Ikhtisar}}
|-
 
{{#if: {{{start_year|}}}{{{end_year|}}}|
| label2 = Waralaba
! Mulai beroperasi
| data2 = {{{franchise|}}}
{{!}} {{{start_year}}} &ndash; {{{end_year}}}}}
| label3 = Kontrak
|-
{{#if:| data3 = {{{predecessor_linecontract|}}}|
| label4 = Konsesi
! Perusahaan KA pendahulu
{{!}}| data4 = {{{predecessor_lineconcession|}}}}}
| label5 = Operator
|-
{{#if:| data5 = {{{successor_lineoperator|}}}|
| label6 = {{if empty|{{{nameforarea|}}}|Wilayah}} utama
! Perusahaan KA penerus
{{!}}| data6 = {{{successor_lineregions|}}}}}
| label7 = {{if empty|{{{nameforarea|}}}|Wilayah}} lainnya
|-
| data7 = {{{secregions|}}}
! [[Lebar sepur]]
| label8 = Armada
| {{{gauge}}}
| data8 = {{{fleet|}}}
|-
| label9 = Jumlah stasiun
{{#if: {{{length|}}}|
| data9 = {{{stations|}}}
! Jarak
| label10 = Jumlah stasiun beroperasi
{{!}} {{{length|}}}}}
| data10 = {{{stationsop|}}}
|-
| label11 = Perusahaan induk
{{#if: {{{hq_city|}}}|
| data11 = {{{parent_company|}}}
! Kantor pusat
| label12 = Kantor pusat
{{!}} {{{hq_city|}}}}}
| data12 = {{{headquarters|{{{hq_city|}}}}}}
|}<noinclude>
| label13 = Tokoh penting
{{Template doc}}
| data13 = {{{key_people|}}}
| label14 = Pendiri
| data14 = {{{founders|}}}
| label20 = [[Markah laporan]]
| data20 = {{{marks|{{{abbr|}}}}}}
| label21 = Lokal
| data21 = {{{locale|}}}
| label22 = Tanggal beroperasi
| data22 = {{#if:{{{start_year|{{{founded|}}}}}}{{{end_year|{{{defunct|}}}}}}|{{{start_year|{{{founded|}}}}}}&ndash;{{{end_year|{{{defunct|}}}}}}|{{#if:{{{dates|}}}|{{{dates}}}}}}}
| label23 = Pendahulu
| data23 = {{if empty|{{{predecessor_line|}}}|{{{predecessors|}}}|{{{predecessor|}}}}}
| label24 = Penerus
| data24 = {{if empty|{{{successor_line|}}}|{{{successors|}}}|{{{successor|}}}}}
 
| header30 = {{#if:{{{gauge|}}}{{{old_gauge|}}}{{{electrification|{{{el|}}}}}}{{{length|}}}{{{linelength|}}}{{{routekm|}}}{{{tracklength|}}}{{{notrack|}}}{{{speed|}}}{{{elevation|}}}|Teknis}}
| label31 = [[Lebar sepur]]
| data31 = {{{gauge|}}}
| label32 = Sepur sebelumnya
| data32 = {{{old_gauge|}}}
| label33 = [[Elektrifikasi perkeretaapian|Elektrifikasi]]
| data33 = {{{electrification|{{{el|}}}}}}
| label34 = Panjang jalur
| data34 = {{if empty|{{{length|}}}|{{{linelength|}}}|{{{routekm|}}}}}
| label35 = Panjang rel
| data35 = {{{tracklength|}}}
| label36 = Nomor rel
| data36 = {{{notrack|}}}
| label37 = Kelajuan operasi
| data37 = {{{speed|}}}
| label38 = Ketinggian maksimum
| data38 = {{{elevation|}}}
 
| header41 = {{#if:{{{website|}}}{{{embedded|}}}|Lain-lain}}
| label42 = Situs web
| data42 = {{{website|}}}
| data43 = {{{embedded|}}}
 
| belowstyle = vertical-align: middle; padding: 0
| below = {{#if:{{{routemap|{{{map|}}}}}}|
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}}
|1|yes|collapsed|hide = mw-collapsed autocollapse
|0|no|show|uncollapsed|#default = uncollapsed
}}">
<tr style="background-color: #efefef;"><th style="text-align:center"><div style="margin:0 4em">{{#if:{{{map_name|}}}|{{{map_name}}}|Route map}}</div></th></tr>
<tr><td style="text-align:center; padding-top: 3px">
{{{routemap|{{{map}}}}}}</td></tr>
</table>}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rail with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rail]] with unknown parameter "_VALUE_"|ignoreblank=y| abbr | alt | caption | contract | concession | dates | defunct | el | electrification | elevation | embedded | end_year | fleet | founded | founders | franchise | gauge | headquarters | hq_city | image | image_alt | image_caption | image_filename | image_size | key_people | length | linelength | locale | logo | logo_alt | logo_filename | logo_size | map | map_alt | map_caption | map_name | map_size | map_state | marks | name | nameforarea | notrack | old_gauge | operator | other_name | parent_company | predecessor | predecessor_line | predecessors | railroad_name | regions | routekm | routemap | secregions | speed | start_year | stations | stationsop | subbox | successor | successor_line | successors | system_map | tracklength | website }}{{#invoke:Check for clobbered parameters|check
| nested = 1
| template = Infobox rail
| cat = {{main other|Category:Pages using infobox rail with conflicting parameters}}
| abbr; marks
| alt; image_alt
| caption; image_caption
| defunct; end_year
| el; electrification
| founded; start_year
| headquarters; hq_city
| image; image_filename
| logo; logo_filename
| map; routemap
| name; railroad_name
}}<noinclude>
{{documentation}}
</noinclude>