Template:Infobox bridge: Difference between revisions
m
1 revision imported
Vivaporius (talk | contribs) m (1 revision imported) |
Vivaporius (talk | contribs) m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
{{Infobox
| bodyclass = vcard
| autoheaders = y
| child = {{{child|{{{embed|}}}}}}
| headerstyle = background-color: #efefef;
| above = <
-->{{#if:{{{native_name|}}}|<br /><
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getValue|P18|qid={{{qid|}}}|name=image|maxvals=1|noicon=true|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{image|}}}}}|size={{{image_size|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
| caption = {{#if:{{{image|}}}|{{{caption|{{{image_caption|}}}}}}|{{#invoke:WikidataIB|getValue|P18|qid={{{qid|}}}|qual=P2096|qualsonly=y|lang=en|name=caption|maxvals=1|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{caption|{{{image_caption|}}}}}}}}}}
| label1 =
| data1 = {{#
| label2 =
| data2 = {{gbmappingsmall|{{#
| label3 = Carries
| data3 = {{#invoke:WikidataIB|getValue|P2505|qid={{{qid|}}}|name=carries|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{carries|}}}}}
| label4 = Crosses
| data4 = {{#invoke:WikidataIB|getValue|P177|qid={{{qid|}}}|name=crosses|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{crosses|}}}}}
| label5 = Locale
| data5 = {{#invoke:WikidataIB|getValue|P276|qid={{{qid|}}}|name=locale|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{locale|{{{location|}}}}}}}}
| class5 = label
| label6 =
| data6 = {{{
| label7 =
| data7 = {{{
| label8 =
| data8 = {{#invoke:WikidataIB|getValue|P1448|qid={{{qid|}}}|name=official_name|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{official_name|}}}}}
| label9 =
| data9 = {{{
| class9 = nickname
| label10 =
| data10 = {{#invoke:WikidataIB|getValue|P138|qid={{{qid|}}}|name=named_for|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{named_for|}}}}}
| label11 =
| data11 = {{#invoke:WikidataIB|getValue|P127|qid={{{qid|}}}|name=owner|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{owner|}}}}}
| label12 = Maintained by
| data12 = {{#invoke:WikidataIB|getValue|P126|qid={{{qid|}}}|name=maintained|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{maint|{{{maintained|}}}}}}}}
| label13 =
| data13 = {{#invoke:WikidataIB|getValue|P1435|qid={{{qid|}}}|name=heritage|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{heritage|}}}}}
| class13 = category
| label14 = {{#if:{{{
| data14 = {{#if:{{{
| label15 =
| data15 = {{
| label16 = {{#if:{{{preceded|}}}|Preceded by|Next upstream}}
| data16 = {{#invoke:WikidataIB|getValue|P2673|qid={{{qid|}}}|name=upstream|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{#if:{{{preceded|}}}|{{{preceded|}}}|{{{upstream|}}}}}}}
| label17 =
| data17 = {{#invoke:WikidataIB|getValue|P2674|qid={{{qid|}}}|name=downstream|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{#if:{{{followed|}}}|{{{followed|}}}|{{{downstream|}}}}}}}
|
|
|
| class27 = category
|
| data28 = {{#invoke:String2 | ucfirst | {{#invoke:WikidataIB|getValue|P186|qid={{{qid|}}}|name=material|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{material|}}}}}}}
| class28 = category
|
|
|
|
|
| data31 = {{#invoke:WikidataIB|getValue|P2043|qid={{{qid|}}}|name=length|convert=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{length|}}}}}
|
| data32 = {{#invoke:WikidataIB|getValue|P2049|qid={{{qid|}}}|name=width|convert=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{width|}}}}}
|
| data33 = {{#invoke:WikidataIB|getValue|P2048|qid={{{qid|}}}|name=height|convert=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{height|}}}}}
|
|
|
|
|
|
| label37 = Longest span
| data37 = {{#invoke:WikidataIB|getValue|P2787|qid={{{qid|}}}|name=mainspan|convert=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{mainspan|}}}}}
|
| data38 = {{#invoke:WikidataIB|getValue|P1314|qid={{{qid|}}}|name=spans|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{number_spans|{{{spans|}}}}}}}}
|
|
| label40 = Load limit
|
|
|
| label42 = {{W|Air draft#Clearance below|Clearance below}}
| data42 = {{#invoke:WikidataIB|getValue|P2793|qid={{{qid|}}}|name=below|convert=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{clearance_below|{{{below|}}}}}}}}
| label43 = {{abbr|No.|Number}} of {{W|lane}}s
|
| label44 = Design life
| data44 = {{{life|}}}
| label45 = Diameter
| data45 = {{#invoke:WikidataIB|getValue|P2386|qid={{{qid|}}}|name=diameter|convert=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{diameter|}}}}}
| label46 = First section length
|
| label47 = First section diameter
|
| label48 = Second section length
|
| label49 = Second section diameter
| data49 = {{{second_diameter|}}}
|
|
|
|
| label52 = Capacity
|
| header55 = Rail characteristics
| label56 = {{abbr|No.|Number}} of {{W|Track (rail transport)|tracks}}
| data56 = {{{num_track|{{{notrack|}}}}}}
|
| data57 = {{#invoke:WikidataIB|getValue|P1064|qid={{{qid|}}}|name=gauge|convert=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{track_gauge|{{{gauge|}}}}}}}}
|
|
| label59 = {{W|Railway electrification system|Electrified}}
|
|
|
| data61 = {{#invoke:WikidataIB|getValue|P84|qid={{{qid|}}}|name=architect|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{architect|}}}}}
|
| data62 = {{#invoke:WikidataIB|getValue|P287|qid={{{qid|}}}|name=designer|uselbl=yes|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{designer|}}}}}
|
|
| label64 = Successful competition design
|
| label65 = Engineering design by
|
| label66 = {{nowrap|Constructed by}}
| data66 = {{#invoke:WikidataIB|getValue|P193|qid={{{qid|}}}|name=builder|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{builder|}}}}}
|
|
|
|
|
|
|
|
| label71 = Construction cost
| data71 = {{#invoke:WikidataIB|getValue|P2130|qid={{{qid|}}}|unitabbr=true|name=cost|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{cost|}}}}}
| label72 = {{#if:{{{opening|}}}|Opening|Opened}}
| data72 = {{#invoke:WikidataIB|getValue|P571|qid={{{qid|}}}|name=open|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{if empty|{{{opening|}}}|{{{open|}}}|{{{opened|}}}}}}}
| label73 = {{#if:{{{dedicated|}}}|Dedicated|Inaugurated}}
| data73 = {{#invoke:WikidataIB|getValue|P1619|qid={{{qid|}}}|name=inaugurated|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{if empty|{{{dedicated|}}}|{{{inaugurated|}}}}}}}
|
| data74 = {{{rebuilt|}}}
| label75 = Collapsed
|
| label76 = Destroyed
|
| label77 = Closed
| data77 = {{#invoke:WikidataIB|getValue|P3999|qid={{{qid|}}}|name=closed|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{closed|}}}}}
| label78 = Demolished
| data78 = {{#invoke:WikidataIB|getValue|P576|qid={{{qid|}}}|name=demolished|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{demolished|}}}}}
| label79 = Replaces
| data79 = {{#invoke:WikidataIB|getValue|P1398|qid={{{qid|}}}|name=replaces|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{replaces|}}}}}
| label80 = Replaced by
| data80 = {{#invoke:WikidataIB|getValue|P167|qid={{{qid|}}}|name=replaced_by|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{replaced_by|}}}}}
| header81 = Statistics
| label82 = {{W|Annual average daily traffic|Daily traffic}}
| data82 = {{{traffic|}}}
| label83 = Toll
| data83 = {{#invoke:WikidataIB|getValue|P2555|qid={{{qid|}}}|name=toll|unitabbr=true|fetchwikidata={{{fetchwikidata|}}}|onlysourced={{{onlysourced|no}}}|{{{toll|}}}}}
| header84 = {{#if:{{{extra|}}}|<nowiki />}}
| rowstyle84 = display:none;
| data84 = {{{embedded|{{{extra|}}}}}}
| header85 = Location
| data86 = {{#invoke:Infobox mapframe|auto|onByDefault=yes}}
| data87 = {{#invoke:Infobox mapframe|autocaption}}
| header91 = References
| data92 = {{{references|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox bridge with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox bridge]] with unknown parameter "_VALUE_"|ignoreblank = 1| also_known_as | alt | aqueduct_name | architect | begin | below | bridge_name | builder | built | capacity | caption | carries | child | clearance | clearance_above | clearance_below | closed | collapsed | complete | contracted_designer | coord_format | coordinates | cost | crosses | dedicated | depth | design | designer | destroyed | diameter | downstream | electrification | embed | embedded | ends | engineering | extra | fabricator | fetchwikidata |first_length | first_diameter | followed | gauge | height | heritage | id | id_type | image | image_caption | image_size | image_upright | inaugurated | lanes | length | life | load | locale | location | mainspan | maint | maintained | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | 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 | material | material1 | material2 | name | named_for | native_name | native_name_lang | notrack | num_track | number_spans | official_name | onlysourced | open | opened | opening | os_grid_reference | other_name | owner | passable | piers_in_water | pierswater | preceded | qid | rebuilt | references | refs | replaced_by | replaces | second_length | second_diameter | spans | starts | structure_gauge | third_length | third_diameter | toll | towpath | track_gauge | traffic | traversable | upstream | website | width | winner
}}{{Main other|
{{#if:{{{
}}{{#if:{{{
}}{{#if:{{{extra|}}}|{{#switch:{{str left|{{{extra}}}|3}}
|<tr=[[Category:Pages using infobox bridge with extra embedded table]]
|<di=[[Category:Pages using infobox bridge with extra embedded div]]
|#default=[[Category:Pages using infobox bridge with extra]]
}}
}}{{#if:{{{coordinates|}}}||{{#if:{{#property:P625}}|[[Category:Pages using infobox bridge with empty coordinates parameter]]|<!--no coordinates on Wikidata-->}}}}}}<noinclude>
{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
|