Template:Bridge Query: Difference between revisions

From Indian River Lagoon Project
(Created page with "<noinclude> This template is used to display Bridge Queries. </noinclude> <includeonly> <div class="irlcontent"> {| class="wikitable" ! colspan="5" | {{#if:{{{Article|}}}|{...")
 
mNo edit summary
 
(16 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.


<nowiki>{{Bridge Query|where=name|like=Wabasso Bridge|limit=1}}</nowiki>
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<div class="irlcontent">
{{#cargo_query:
{| class="wikitable"
tables=bridge
! colspan="5" | {{#if:{{{Article|}}}|[[{{{Article|}}}|{{{Name|}}}]]|{{{Name|}}} }}
|fields=Name, Road, Water, City, County, Type, Builder, Length, Height, Built, CONCAT(FDOT)=FDOT, Coordinates, Description, Article, Image, Link1, Link2, Link3
|-
|where={{{where|name}}} LIKE '{{{like|}}}'
| colspan="5" | {{#if:{{{Image|}}}|[[File:{{{Image|}}}|400px|frameless|center|{{{Name|}}}|link={{{Article|}}} ]] }}
|order by=Name ASC
|-
|limit={{{limit|1}}}
| colspan="4" | Waterway: {{{Water|}}}
|format=template
| style="text-align: right;" | Road: {{{Road|}}}
|named args=yes
|-
|template=Bridge Box
| colspan="3" | City: {{{City|}}}
|more results text=
| colspan="2" style="text-align: right;" | County: {{{County|}}}
}}
|-
| colspan="3" | Type: {{{Type|}}}
| colspan="2" style="text-align: right;" | {{#if:{{{Builder|}}}|Builder:{{{Builder|}}} }}
|-
| 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>
</includeonly>

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

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

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