Template:Infobox rail line: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with '{{Infobox | bodystyle = width:{{{box_width|25em}}}; font-size: 90%; | above = {{#if:{{{logo2<includeonly>|</includeonly>}}}|[[file:{{{logo2<noinclude>|Placeholder.svg</…') |
No edit summary |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| child = {{{embed|}}} | |||
| bodystyle = width:{{{box_width|25em}}}; | |||
| above = {{#if:{{{color<includeonly>|</includeonly>}}}|{{color box|#{{{color<noinclude>|ddffff</noinclude>}}}}}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}{{#if:{{{color|}}}|}} | |||
| abovestyle = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}} | |||
| | |image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{logo_filename|}}}}}}|size={{{logo_size|}}}|sizedefault=frameless|upright=0.91|alt={{{logo_alt|}}}}} | ||
|caption1 = {{#if:{{{image|{{{image_filename|}}}}}}||{{{caption|{{{image_caption|}}}}}}}} | |||
| | |image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{system_map|}}}|size={{{map_size|}}}|sizedefault=frameless|upright=1.14|alt={{{map_alt|}}}}} | ||
|caption2 = {{{map_caption|}}} | |||
| | |image3 = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image<noinclude>|Placeholder.svg</noinclude>}}}|size={{{image_width|}}}|sizedefault=frameless|upright=1.14|alt={{{image_alt|{{{alt|}}}}}}}}}} | ||
| caption | |caption3 = {{#if:{{{caption|}}}|{{{caption<noinclude>|{{{image_caption|}}}</noinclude>}}}}} | ||
| headerstyle = background-color: #efefef | | headerstyle = background-color: #efefef; | ||
| header1 = {{#if:{{{connectinglines|}}}{{{formerconnections|}}}{{{continuesas|}}}{{{continuesfrom|}}}{{{coordinates|}}}{{{end|}}}{{{linenumber|}}}{{{locale|}}}{{{mapcolor|}}}{{{mapcolorlink|}}}{{{mapcolour|}}}{{{mapcolourlink|}}}{{{native_name|}}}{{{native_name_lang|}}}{{{other_name|}}}{{{daily_ridership|}}}{{{ridership2|}}}{{{routes|}}}{{{start|}}}{{{stations|}}}{{{status|}}}{{{system|}}}{{{trainnumber|}}}{{{type|}}}{{{website|}}}|Overview}} | |||
| label2 = Other name(s) | |||
| data2 = {{{other_name|}}} | |||
| class2 = nickname | |||
| label3 = Native name | |||
| data3 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | |||
| label4 = [[wikipedia:Romanization|Romanized]] name | |||
| data4 = {{#if:{{{romanized_name|}}}|{{{romanized_name}}}}} | |||
| label5 = Type | |||
| data5 = {{{type|}}} | |||
| label6 = System | |||
| data6 = {{{system|}}} | |||
| label7 = Status | |||
| data7 = {{{status|}}} | |||
| label8 = Franchise(s) | |||
| data8 = {{{franchise|}}} | |||
| label9 = Contract(s) | |||
| data9 = {{{contract|}}} | |||
| label10 = Concession(s) | |||
| data10 = {{{concession|}}} | |||
| label11 = Current operator | |||
| data11 = {{{operator|}}} | |||
| label12 = Main {{if empty|{{{nameforarea|}}}|region}}(s) | |||
| data12 = {{{regions|}}} | |||
| label13 = Other {{if empty|{{{nameforarea|}}}|region}}(s) | |||
| data13 = {{{secregions|}}} | |||
| label14 = Fleet size | |||
| data14 = {{{fleet|}}} | |||
| label16 = Parent company | |||
| data16 = {{{parent_company|}}} | |||
| label17 = Headquarters | |||
| data17 = {{{headquarters|{{{hq_city|}}}}}} | |||
| label18 = Key people | |||
| data18 = {{{key_people|}}} | |||
| label19 = Founders | |||
| data19 = {{{founders|}}} | |||
| label20 = Locale | |||
| data20 = {{{locale|}}} | |||
| label21 = Coordinates | |||
| data21 = {{{coordinates|}}} | |||
| label22 = Termini | |||
| data22 = {{#if:{{{start|}}}|{{{start}}}{{#if:{{{end|}}}|<br />{{{end}}}}}}} | |||
| label23 = Continues from | |||
| data23 = {{{continuesfrom|}}} | |||
| label24 = Continues as | |||
| data24 = {{{continuesas|}}} | |||
| label25 = Connecting lines | |||
| data25 = {{{connectinglines|}}} | |||
| label26 = Former connections | |||
| data26 = {{{formerconnections|}}} | |||
| label27 = Stations | |||
| data27 = {{{stations|}}} | |||
| label28 = Services | |||
| data28 = {{{routes|}}} | |||
| label29 = Daily ridership | |||
| data29 = {{{daily_ridership|}}} | |||
| label30 = Ridership | |||
| data30 = {{{ridership2|}}} | |||
| label31 = Train number(s) | |||
| data31 = {{{trainnumber|}}} | |||
| label32 = Line number | |||
| data32 = {{{linenumber|}}} | |||
| label33 = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}} | |||
| data33 = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }} | |||
| label34 = Website | |||
| data34 = {{{website|}}} | |||
| header35 = {{#if:{{{character|}}}{{{close|}}}{{{conductionsystem|}}}{{{depot|}}}{{{lastextension|}}}{{{planopen|}}}{{{open|}}}{{{operator|}}}{{{owner|}}}{{{reopen|}}}{{{stock|}}}|Operation}} | |||
| label36 = Commenced | |||
| data36 = {{{yearcommenced|}}} | |||
| label37 = Planned opening | |||
| data37 = {{{planopen|}}} | |||
| label38 = Opened | |||
| data38 = {{{open|}}} | |||
| label39 = Last extension | |||
| data39 = {{{lastextension|}}} | |||
| label40 = Completed | |||
| data40 = {{{yearcompleted|}}} | |||
| label41 = Closed | |||
| data41 = {{{close|}}} | |||
| label42 = Reopened | |||
| data42 = {{{reopen|}}} | |||
| label43 = Predecessor{{#if:{{{predecessors|}}}|s}} | |||
| data43 = {{#if:{{{predecessor_line|}}}|{{{predecessor_line|{{{predecessors}}}{{{predecessor}}}}}}}} | |||
| label44 = Successor{{#if:{{{successors|}}}|s}} | |||
| data44 = {{#if:{{{successor_line|}}}|{{{successor_line|{{{successors}}}{{{successor}}}}}}}} | |||
| label45 = Owner | |||
| data45 = {{{owner|}}} | |||
| label46 = Operator(s) | |||
| data46 = {{{operator|}}} | |||
| label47 = Conduction system | |||
| data47 = {{{conductionsystem|}}} | |||
| label48 = Character | |||
| data48 = {{{character|}}} | |||
| label49 = Depot(s) | |||
| data49 = {{{depot|}}} | |||
| label50 = Rolling stock | |||
| data50 = {{{stock|}}} | |||
| header51 = {{#if:{{#if:{{{event1label|}}}|{{{event1|}}}}}{{#if:{{{event2label|}}}|{{{event2|}}}}}{{#if:{{{event3label|}}}|{{{event3|}}}}}|Events}} | |||
| label52 = {{{event1label}}} | |||
| data52 = {{#if:{{{event1label|}}}|{{{event1|}}}}} | |||
| label53 = {{{event2label}}} | |||
| data53 = {{#if:{{{event2label|}}}|{{{event2|}}}}} | |||
| label54 = {{{event3label}}} | |||
| data54 = {{#if:{{{event3label|}}}|{{{event3|}}}}} | |||
| header55 = {{#if:{{{aveinterstation|}}}{{{electrification|}}}{{{elevation|}}}{{{elevation_ft|}}}{{{elevation_m|}}}{{{gauge|}}}{{{load_gauge|}}}{{{linelength|}}}{{{linelength_footnotes|}}}{{{linelength_km|}}}{{{linelength_mi|}}}{{{maxincline|}}}{{{minradius|}}}{{{minradius_ft|}}}{{{minradius_m|}}}{{{old_gauge|}}}{{{availability|}}}{{{racksystem|}}}{{{routenumber|}}}{{{speed|}}}{{{speed_km/h|}}}{{{speed_mph|}}}{{{tracklength|}}}{{{tracklength_footnotes|}}}{{{tracklength_km|}}}{{{tracklength_mi|}}}|Technical}} | |||
| label56 = Line length | |||
| data56 = {{#if:{{{linelength_km|}}}|{{cvt-ph|{{{linelength_km|}}}|km|mi}}}}{{#if:{{{linelength_mi|}}}|{{cvt-ph|{{{linelength_mi|}}}|mi|km}}}}{{{linelength|}}}{{{linelength_footnotes|}}} | |||
| label57 = Track length | |||
| data57 = {{#if:{{{tracklength_km|}}}|{{cvt-ph|{{{tracklength_km|}}}|km|mi}}}}{{#if:{{{tracklength_mi|}}}|{{cvt-ph|{{{tracklength_mi|}}}|mi|km}}}}{{{tracklength|}}}{{{tracklength_footnotes|}}} | |||
| label58 = Number of tracks | |||
| data58 = {{{tracks|}}} | |||
| label59 = [[wikipedia:Track gauge|Track gauge]] | |||
| data59 = {{{gauge|}}} | |||
| label60 = Old gauge | |||
| data60 = {{{old_gauge|}}} | |||
| label61 = [[wikipedia:Loading gauge|Loading gauge]] | |||
| data61 = {{{load_gauge|}}} | |||
| label62 = [[wikipedia:Route availability|Route availability]] | |||
| data62 = {{{availability|}}} | |||
| label63 = [[wikipedia:Minimum railway curve radius|Minimum radius]] | |||
| data63 = {{#if:{{{minradius_m|}}}|{{cvt-ph|{{{minradius_m|}}}|m|ft}}}} {{#if:{{{minradius_ft|}}}|{{cvt-ph|{{{minradius_ft|}}}|ft|m}}}}{{{minradius|}}} | |||
| label64 = [[wikipedia:Railway electrification system|Electrification]] | |||
| data64 = {{{electrification|}}} | |||
| label65 = Operating speed | |||
| data65 = {{#if:{{{speed_km/h|}}}|{{cvt-ph|{{{speed_km/h|}}}|km/h|mph}}}}{{#if:{{{speed_mph|}}}|{{cvt-ph|{{{speed_mph|}}}|mph|km/h}}}}{{{speed|}}} | |||
| label66 = [[wikipedia:Railway signalling|Signalling]] | |||
| data66 = {{{signalling|}}} | |||
| label67 = Highest elevation | |||
| data67 = {{#if:{{{elevation_m|}}}|{{cvt-ph|{{{elevation_m|}}}|m|ft}}}}{{#if:{{{elevation_ft|}}}|{{cvt-ph|{{{elevation_ft|}}}|ft|m}}}}{{{elevation|}}} | |||
| label68 = [[wikipedia:Grade (slope)|Maximum incline]] | |||
| data68 = {{{maxincline|}}} | |||
| label69 = Rack system | |||
| data69 = {{{racksystem|}}} | |||
| label70 = Route number | |||
| data70 = {{{routenumber|}}} | |||
| label71 = Average inter-station distance | |||
| data71 = {{{aveinterstation|}}} | |||
| | | data80 = {{{embedded|}}} | ||
| belowstyle = vertical-align: middle; padding: 0 | |||
| below = {{#if:{{{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 | |||
| belowstyle = vertical-align: middle | |||
| below | |||
<table style="width:100%; | |||
|1 | |||
|yes | |||
|collapsed = mw-collapsed autocollapse | |||
}}"> | }}"> | ||
<tr | <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 | <tr><td style="text-align:center; padding-top: 3px"> | ||
{{{map | {{{map|}}}</td></tr> | ||
</td></tr> | </table>}} | ||
</table> | }}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->[[Category: Transportation templates]]</noinclude> | ||
}} | [[Category:Railways]] | ||
}}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> |
Latest revision as of 15:40, 18 November 2024
Infobox rail line |
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |