Template:Infobox public transit accident: Difference between revisions

>Tbhotch
bold addition
 
m Bot: cleaning unwanted module calls
 
Line 5: Line 5:
| headerstyle      = background-color: #8A4437; color: white;
| headerstyle      = background-color: #8A4437; color: white;
| aboveclass = summary
| aboveclass = summary
| above             = <includeonly>{{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}}</includeonly>
| above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
 
| image            = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{image size|200px}}}}}} |sizedefault=frameless |upright={{{image_upright|1.35}}} |alt={{{image_alt|{{{alt|}}}}}} |border={{{border|no}}} }}
| image            = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{image size|200px}}}}}} |sizedefault=frameless |upright={{{image_upright|1.35}}} |alt={{{image_alt|{{{alt|}}}}}} |border={{{border|no}}} }}
| captionstyle = padding:0.35em 0.35em 0.25em;line-height:1.25em;
| captionstyle = padding:0.35em 0.35em 0.25em;line-height:1.25em;
Line 39: Line 38:
| header1          = {{#if: {{{date|}}} {{{time|}}} {{{location|}}} {{{coordinates|}}} {{{country|}}} {{{line|}}} {{{operator|}}} {{{owner|}}} {{{type|}}} {{{cause|}}} | Details }}
| header1          = {{#if: {{{date|}}} {{{time|}}} {{{location|}}} {{{coordinates|}}} {{{country|}}} {{{line|}}} {{{operator|}}} {{{owner|}}} {{{type|}}} {{{cause|}}} | Details }}
| label2            = Date
| label2            = Date
| data2             = {{#invoke:WikidataIB|getValue|P585|name=date|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|{{{date|}}} {{#if:{{{time|}}}|<br/>{{{time}}}}}{{#if:{{{time-begin|}}}|<br/>{{{time-begin}}}&nbsp;– {{{time-end}}}}} {{#if:{{{timezone|}}}|({{{timezone}}})}} }}
| data2 = {{{date|}}}{{#if:{{{time|}}}|<br/>{{{time}}}}}{{#if:{{{time-begin|}}}|<br/>{{{time-begin}}}&nbsp;– {{{time-end}}}}}{{#if:{{{timezone|}}}| ({{{timezone}}})}}
 
| label4            = Location
| label4            = Location
| data4             = {{#invoke:WikidataIB|getValue|P276|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|{{{location|}}} }}{{#if: {{{location_dist_km|}}}
| data4 = {{{location|}}}{{#if:{{{location_dist_km|}}}
   |<br />{{#ifeq: {{{location_dist_km|unknown}}} | unknown | Unknown | {{convert|{{{location_dist_km}}}|km|mi|abbr=on}} }} {{#if:{{{location_dir|}}}| {{{location_dir}}} }} {{#if:{{{location_city|}}}| from {{{location_city}}} }}
   |<br />{{#ifeq:{{{location_dist_km|unknown}}}|unknown|Unknown|{{convert|{{{location_dist_km}}}|km|mi|abbr=on}}}} {{#if:{{{location_dir|}}}| {{{location_dir}}}}} {{#if:{{{location_city|}}}| from {{{location_city}}}}}
   }}{{#if:{{{location_dist_mi|}}}
   }}{{#if:{{{location_dist_mi|}}}
   |<br />{{#ifeq: {{{location_dist_mi|unknown}}} | unknown | Unknown | {{convert|{{{location_dist_mi}}}|mi|km|abbr=on}} }} {{#if:{{{location_dir|}}}| {{{location_dir}}} }} {{#if:{{{location_city|}}}| from {{{location_city}}} }}
   |<br />{{#ifeq:{{{location_dist_mi|unknown}}}|unknown|Unknown|{{convert|{{{location_dist_mi}}}|mi|km|abbr=on}}}} {{#if:{{{location_dir|}}}| {{{location_dir}}}}} {{#if:{{{location_city|}}}| from {{{location_city}}}}}
   }}
   }}
| label5            = Coordinates
| label5            = Coordinates
| data5            = {{{coordinates|}}}
| data5            = {{{coordinates|}}}

Latest revision as of 12:21, 12 April 2026

Lua error in Module:Infobox_mapframe at line 197: attempt to index field 'wikibase' (a nil value).
Template documentation[create]