Template:Bridge Query: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>This template is used to query the "Bridge" Cargo Table.
This template is used to display Bridge Queries.


</noinclude><includeonly><div class="wikitable">
<nowiki>{{Bridge Query|where=name|like=Wabasso Bridge|limit=1}}</nowiki>
{| class="wikitable"
</noinclude>
! colspan="5" | {{#if:{{{Article|}}}|[[{{{Article|}}}|{{{Name|}}}]]|{{{Name|}}} }}
<includeonly>
|-
{{#cargo_query:
| colspan="5" | {{#if:{{{Image|}}}|[[File:{{{Image|}}}|400px|frameless|center|{{{Name|}}}|link={{{Article|}}} ]] }}
tables=bridge
|-
|fields=Name, Road, Water, City, County, Type, Builder, Length, Height, Built, CONCAT(FDOT)=FDOT, Coordinates, Description, Article, Image, Link1, Link2, Link3
| colspan="4" | Waterway: {{{Water|}}}
|where={{{where|name}}} LIKE '{{{like|}}}'
| style="text-align: right;" | Road: {{{Road|}}}
|order by=Name ASC
|-
|limit={{{limit|1}}}
| colspan="3" | City: {{{City|}}}
|format=template
| colspan="2" style="text-align: right;" | County: {{{County|}}}
|named args=yes
|-
|template=Bridge Box
| colspan="3" | Type: {{{Type|}}}
|more results text=
| colspan="2" style="text-align: right;" | {{#if:{{{Builder|}}}|Builder:{{{Builder|}}} }}
}}
|-
</includeonly>
| colspan="2" | {{#if:{{{FDOT|}}}|DOT: {{{FDOT|}}} }}
| {{#if:{{{Length|}}}|L: {{{Length|}}}' }}
| {{#if:{{{Height|}}}|H: {{{Height|}}}' }}
| style="text-align: right;" | {{#if:{{{Built|}}}|Built: {{{Built|}}} }}
|-
| colspan="5" |{{#if:{{{Coordinates|}}}|<div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Map" data-collapsetext="Hide Map">Location: ({{{Coordinates|}}})
<div class="mw-collapsible-content">
{{#cargo_display_map:point= {{{Coordinates|}}}|service=googlemaps|width=400px|height=300px|zoom=14}}
</div>
</div> }}
|-
| colspan="5" | {{{Description|}}} {{#if:{{{Article|}}}|[[{{{Article|}}}|Read Article]] }}
|-
| colspan="5" | {{#if:{{{Link1|}}}|[{{{Link1|}}}] }} {{#if:{{{Link2|}}}|<br/>[{{{Link2|}}}] }} {{#if:{{{Link3|}}}|<br/>[{{{Link3|}}}] }}
|}</div></includeonly>

Latest revision as of 23:36, October 25, 2020

This template is used to query the "Bridge" Cargo Table.

{{Bridge Query|where=name|like=Wabasso Bridge|limit=1}}