Template:Infobox rail line: Difference between revisions

From WikiMD's Wellness Encyclopedia

m 1 revision imported
en>Jonesey95
add standard module= parameter for child templates
Line 4: Line 4:
| bodystyle  = width:{{{box_width|25em}}};
| bodystyle  = width:{{{box_width|25em}}};
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}}
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}}; color: inherit;}}
| aboveclass  = {{#if:{{{color|}}}|notheme}}
| title      = {{#if:{{both|{{{embed|}}}|{{{name|}}}}}|'''{{{name}}}'''}}
| title      = {{#if:{{both|{{{embed|}}}|{{{name|}}}}}|'''{{{name}}}'''}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|50px}}}|sizedefault=265x265px|alt={{{logo_alt|}}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{logo2|}}}|size={{{logo_width2|50px}}}|sizedefault=265x265px|alt={{{logo_alt2|}}}}}
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|image={{{logo|}}}|size={{{logo_width|50px}}}|sizedefault=265x265px|alt={{{logo_alt|}}}}}{{#if:{{{image|}}}|[[File:{{{image}}}|image={{{logo2|}}}|size={{{logo_width2|50px}}}|sizedefault=265x265px|alt={{{logo_alt2|}}}}}
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=265x265px|alt={{{image_alt|}}}}}
| image2      = {{#if:{{{image|}}}|[[File:{{{image}}}|image={{{image|}}}|size={{{image_width|}}}|sizedefault=265x265px|alt={{{image_alt|}}}}}
| caption2    = {{{caption|}}}
| caption2    = {{{caption|}}}
| headerstyle = background-color: #efefef;
| headerstyle = background-color: #efefef;
Line 133: Line 134:


| header60    = _BLANK_
| header60    = _BLANK_
|  data61    = {{{embedded|}}}
|  data61    = {{{embedded|{{{module|}}}}}}


| belowstyle  = vertical-align: middle; padding: 0
| belowstyle  = vertical-align: middle; padding: 0
Line 146: Line 147:
</table>}}
</table>}}
}}<!-- end of infobox
}}<!-- end of infobox
-->{{Main other|{{#if:{{{gauge|}}}|<!-- ok -->|[[Category:Pages with no gauge entered in Infobox rail line]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rail line with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rail line]] with unknown parameter "_VALUE_"|ignoreblank=y| availability | aveinterstation | box_width | caption | character | close | color | color2 | conductionsystem | connectinglines | continuesas | continuesfrom | coordinates | daily_ridership | depot | electrification | elevation | elevation_ft | elevation_m | elr | embed | embedded | end | event1 | event1label | event2 | event2label | event3 | event3label | formerconnections | gauge | image | image_alt | image_width | lastextension | linelength | linelength_footnotes | linelength_km | linelength_mi | linenumber | load_gauge | locale | logo | logo_alt | logo_alt2 | logo_width | logo_width2 | logo2 | map | map_name | map_state | mapcolor | mapcolorlink | mapcolour | mapcolourlink | maxincline | minradius | minradius_ft | minradius_m | name | native_name | native_name_lang | old_gauge | open | operator | other_name | owner | planopen | racksystem | reopen | ridership2 | routenumber | routes | signalling | speed | speed_km/h | speed_mph | start | stations | status | stock | system | tracklength | tracklength_footnotes | tracklength_km | tracklength_mi | tracks | trainnumber | trainprotection | type | website | yearcommenced | yearcompleted }}<noinclude>
-->{{Main other|{{#if:{{{gauge|}}}|<!-- ok -->|[[Category:Pages with no gauge entered in Infobox rail line]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rail line with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rail line]] with unknown parameter "_VALUE_"|ignoreblank=y| availability | aveinterstation | box_width | caption | character | close | color | color2 | conductionsystem | connectinglines | continuesas | continuesfrom | coordinates | daily_ridership | depot | electrification | elevation | elevation_ft | elevation_m | elr | embed | embedded | end | event1 | event1label | event2 | event2label | event3 | event3label | formerconnections | gauge | image | image_alt | image_width | lastextension | linelength | linelength_footnotes | linelength_km | linelength_mi | linenumber | load_gauge | locale | logo | logo_alt | logo_alt2 | logo_width | logo_width2 | logo2 | map | map_name | map_state | mapcolor | mapcolorlink | mapcolour | mapcolourlink | maxincline | minradius | minradius_ft | minradius_m | module | name | native_name | native_name_lang | old_gauge | open | operator | other_name | owner | planopen | racksystem | reopen | ridership2 | routenumber | routes | signalling | speed | speed_km/h | speed_mph | start | stations | status | stock | system | tracklength | tracklength_footnotes | tracklength_km | tracklength_mi | tracks | trainnumber | trainprotection | type | website | yearcommenced | yearcompleted }}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 20:16, 29 November 2024

{{#invoke:infobox|infoboxTemplate | child = | autoheaders = y | bodystyle = width:25em; | above = Infobox rail line | abovestyle = | aboveclass = | title = | image = {{#if:|[[File:{{{image}}}|image=|size=50px|sizedefault=265x265px|alt=}}{{#if:|[[File:{{{image}}}|image=|size=50px|sizedefault=265x265px|alt=}} | image2 = {{#if:|[[File:{{{image}}}|image=|size=|sizedefault=265x265px|alt=}} | caption2 = | headerstyle = background-color: #efefef;

| header1 = Overview

| label2 = Other name(s) | data2 = | class2 = nickname | label3 = Native name | data3 = | label4 = Status | data4 = | label5 = Owner | data5 = | label6 = Line number | data6 = | label7 = ELR | data7 = | label8 = Locale | data8 = | label9 = Coordinates | data9 = | label10 = Termini | data10 = | label11 = Continues from | data11 = | label12 = Continues as | data12 = | label13 = Connecting lines | data13 = | label14 = Former connections | data14 = | label15 = Stations | data15 = | label16 = Colour on map | data16 = | label17 = Website | data17 =

| header18 = Service

| label19 = Type | data19 = | label20 = System | data20 = | label21 = Services | data21 = | label22 = Route number | data22 = | label23 = Train number(s) | data23 = | label24 = Operator(s) | data24 = | label26 = Depot(s) | data26 = | label27 = Rolling stock | data27 = | label28 = Daily ridership | data28 = | label29 = Ridership | data29 =

| header30 = History

| label31 = Commenced | data31 = | label32 = Planned opening | data32 = | label33 = Opened | data33 = | label34 = Last extension | data34 = | label35 = Completed | data35 = | label36 = {{{event1label}}} | data36 = | label37 = {{{event2label}}} | data37 = | label38 = {{{event3label}}} | data38 = | label39 = Closed | data39 = | label40 = Reopened | data40 =

| header41 = Technical

| label42 = Line length | data42 = Script error: No such module "ConvertIB". | label43 = Track length | data43 = Script error: No such module "ConvertIB". | label44 = Number of tracks | data44 = | label45 = Character | data45 = | label46 = Rack system | data46 = | label47 = Track gauge | data47 = | label48 = Old gauge | data48 = | label49 = Loading gauge | data49 = | label50 = Route availability | data50 = | label51 = Minimum radius | data51 = Script error: No such module "ConvertIB". | label52 = Electrification | data52 = | label53 = Conduction system | data53 = | label54 = Operating speed | data54 = Script error: No such module "ConvertIB". | label55 = Signalling | data55 = | label56 = Train protection system | data56 = | label57 = Highest elevation | data57 = Script error: No such module "ConvertIB". | label58 = Maximum incline | data58 = | label59 = Average inter-station distance | data59 =

| header60 = _BLANK_ | data61 =

| belowstyle = vertical-align: middle; padding: 0 | below = }}