Jump to content

Template:Infobox station/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
also default config/sandbox
parse
Tag: Reverted
(34 intermediate revisions by the same user not shown)
Line 181: Line 181:
}}}}
}}}}


| data77 = {{#if:{{{route_map|}}}|
| header77 = Location
{{ infobox
| data78 =
| bodystyle = {{Subinfobox bodystyle}}
| bodyclass = collapsible {{{route_map_state|}}}
| headerstyle = {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}}
| header1 = {{#if:{{{route_map|}}}|<div style="margin:0 3.5em">Location</div>}}
| data2 =
{{#if:{{{map_type|}}}
{{#if:{{{map_type|}}}
|{{#if:{{{coordinates|}}}{{#switch:{{#property:P625}}|unknown value|=|#default=1}}
|{{#if:{{{coordinates|}}}{{#switch:{{#property:P625}}|unknown value|=|#default=1}}
Line 201: Line 206:
| {{#if:{{{map_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|}}}|size={{{map_size|}}}|upright={{if empty|{{{map_image_upright|}}}|{{{image_upright|}}}|1.35}}|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div style="padding:0.2em 0;">{{{map_caption}}}</div>|}}|}}
| {{#if:{{{map_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|}}}|size={{{map_size|}}}|upright={{if empty|{{{map_image_upright|}}}|{{{image_upright|}}}|1.35}}|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div style="padding:0.2em 0;">{{{map_caption}}}</div>|}}|}}
}}
}}
| data79 = {{#invoke:Infobox mapframe|auto|mapframe-marker={{#switch:{{#invoke:wd|property|P31}}
| data3 = {{#invoke:Infobox mapframe|auto|mapframe-marker={{#switch:{{#invoke:wd|property|P31}}
|{{label|Q494829}}=bus
|{{label|Q494829}}=bus
|{{label|Q55488}}=rail
|{{label|Q55488}}=rail
Line 207: Line 212:
|{{label|Q2175765}}=rail-light
|{{label|Q2175765}}=rail-light
}}}}
}}}}
| data80 = {{#invoke:Infobox mapframe|autocaption}}
| data4 = {{#invoke:Infobox mapframe|autocaption}}
}}
}}


| data79 = {{#if:{{{footnotes|}}}|
| header81 = Notes
{{ infobox
| data82 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}}
| bodystyle = {{Subinfobox bodystyle}}
| bodyclass = collapsible {{{footnotes_state|}}}
| headerstyle = {{#invoke:Adjacent stations|style|subheader|{{{style|}}}|{{{style2|}}}}}
| header1 = {{#if:{{{footnotes|}}}|<div style="margin:0 3.5em">Notes</div>}}
| data2 = <div style="text-align: left;">{{{footnotes}}}</div>}}}}
}}{{Main other|
}}{{Main other|
{{#if:{{{local_authority|}}}|[[Category:Articles using Infobox station with local_authority]]}}<!--
{{#if:{{{local_authority|}}}|[[Category:Articles using Infobox station with local_authority]]}}<!--
Line 217: Line 229:
-->{{#if:{{{type|}}}|{{#ifeq:{{#invoke:String|find|{{{type}}}|<}}{{#invoke:String|find|{{{type}}}|''}}|00||[[Category:Articles using Infobox station with markup inside type]]}}{{#ifeq:{{#invoke:String|find|{{lc:{{{type}}}}}|[file:}}{{#invoke:String|find|{{lc:{{{type}}}}}|[image:}}|00||[[Category:Articles using Infobox station with images inside type]]}}}}}}<!--
-->{{#if:{{{type|}}}|{{#ifeq:{{#invoke:String|find|{{{type}}}|<}}{{#invoke:String|find|{{{type}}}|''}}|00||[[Category:Articles using Infobox station with markup inside type]]}}{{#ifeq:{{#invoke:String|find|{{lc:{{{type}}}}}|[file:}}{{#invoke:String|find|{{lc:{{{type}}}}}|[image:}}|00||[[Category:Articles using Infobox station with images inside type]]}}}}}}<!--
-->{{#if:{{{opened|}}}{{{start|}}}{{{opening|}}}{{{starting|}}}||{{main other|[[Category:Pages with no open date in Infobox station]]}}}}<!--
-->{{#if:{{{opened|}}}{{{start|}}}{{{opening|}}}{{{starting|}}}||{{main other|[[Category:Pages with no open date in Infobox station]]}}}}<!--
-->{{#invoke:Parameter validation/sandbox|validateparams|module_options = Module:Parameter validation/default config/sandbox}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox station with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox station]] with unknown parameter "_VALUE_"|ignoreblank=y| accessible | ADA | address | alt | AlternativeMap | architect | architectural_style | bicycle | borough | tram_operators | tram_routes | bus_operators | bus_routes | bus_stands | caption | classification | closed | code | number | connections | coordinates | country | cta_header | custom_header | depth | disabled | distance | electrified | elevation | embedded | end | ending | events | events1 | events2 | events3 | events4 | events5 | events6 | events7 | events8 | events9 | events10 | events11 | events12 | footnotes | former | grid_name | grid_position | iata | image | image_caption | image_upright | levels | line | lines | local_authority | manager | map_alt | map_caption | map_dot_label | map_image | map_image_upright | map_label_position | map_name | map_overlay | map_size | map_state | map_type | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-coordinates | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher | mapframe-height | mapframe-width | mlanguage | mpassengers | name | name_lang | native_name | native_name_lang | nrhp | opened | opening | operator | original | other | other_name | other_services | other_services_collapsible | other_services_header | other_services2 | other_services2_collapsible | other_services2_header | owned | owner | parking | pass_percent | pass_rank | pass_system | pass_year | passengers | platform | platforms | postgroup | pregroup | prenational | pushpin_outside | rebuilt | route_map | routes | services | services_collapsible | start | starting | status | structure | style | style2 | symbol | symbol_location | symbol_location2 | symbol_location3 | symbol_location4 | symbol_location5 | symbol_location6 | symbol2 | symbol3 | symbol4 | symbol5 | symbol6 | tracks | train_operators | transit_authority | type | web | website | years | years1 | years2 | years3 | years4 | years5 | years6 | years7 | years8 | years9 | years10 | years11 | years12 | zone }}<!--
-->{{#invoke:Parameter validation/sandbox|validateparams|module_options = Module:Parameter validation/default config/sandbox}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox station with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox station]] with unknown parameter "_VALUE_"|ignoreblank=y| accessible | ADA | address | alt | AlternativeMap | architect | architectural_style | bicycle | borough | tram_operators | tram_routes | bus_operators | bus_routes | bus_stands | caption | classification | closed | code | number | connections | coordinates | country | cta_header | custom_header | depth | disabled | distance | electrified | elevation | embedded | end | ending | events | events1 | events2 | events3 | events4 | events5 | events6 | events7 | events8 | events9 | events10 | events11 | events12 | footnotes | footnotes_state | former | grid_name | grid_position | iata | image | image_caption | image_upright | levels | line | lines | local_authority | manager | map_alt | map_caption | map_dot_label | map_image | map_image_upright | map_label_position | map_name | map_overlay | map_size | map_state | map_type | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-coordinates | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher | mapframe-height | mapframe-width | mlanguage | mpassengers | name | name_lang | native_name | native_name_lang | nrhp | opened | opening | operator | original | other | other_name | other_services | other_services_collapsible | other_services_header | other_services2 | other_services2_collapsible | other_services2_header | owned | owner | parking | pass_percent | pass_rank | pass_system | pass_year | passengers | platform | platforms | postgroup | pregroup | prenational | pushpin_outside | rebuilt | route_map | route_map_state | routes | services | services_collapsible | start | starting | status | structure | style | style2 | symbol | symbol_location | symbol_location2 | symbol_location3 | symbol_location4 | symbol_location5 | symbol_location6 | symbol2 | symbol3 | symbol4 | symbol5 | symbol6 | tracks | train_operators | transit_authority | type | web | website | years | years1 | years2 | years3 | years4 | years5 | years6 | years7 | years8 | years9 | years10 | years11 | years12 | zone }}<!--
-->{{#invoke:check for deprecated parameters|check
-->{{#invoke:check for deprecated parameters|check
|category=[[Category:Pages using infobox station with deprecated parameters|_VALUE_]]
|category=[[Category:Pages using infobox station with deprecated parameters|_VALUE_]]

Revision as of 18:04, 30 April 2024

Infobox station/sandbox