Template:Bridge Query: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is used to query the "Bridge" Cargo Table.
<noinclude>This template is used to query the "Bridge" Cargo Table.
<nowiki>{{Bridge Query|where=name|like=Wabasso Bridge|limit=1}}</nowiki>
<nowiki>{{Bridge Query|where=name|like=Wabasso Bridge|limit=1}}</nowiki>
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#if:{{{where|}}}| | {{{where|}}} => name }}
{{#if:{{{like|}}}| | {{{like|}}} => * }}
{{#if:{{{limit|}}}| | {{{limit|}}} => 1 }}
{{#cargo_query:
{{#cargo_query:
tables=bridge
tables=bridge
|fields=Name, Road, Water, City, County, Type, Builder, Length, Height, Built, CONCAT(FDOT)=FDOT, Coordinates, Description, Article, Image, Link1, Link2, Link3
|fields=Name, Road, Water, City, County, Type, Builder, Length, Height, Built, CONCAT(FDOT)=FDOT, Coordinates, Description, Article, Image, Link1, Link2, Link3
|where={{{where|}}} LIKE '{{{like|}}}'
|where={{{where|name}}} LIKE '{{{like|}}}'
|order by=Name DESC
|order by=Name ASC
|limit={{{limit|}}}
|limit={{{limit|1}}}
|format=template
|format=template
|named args=yes
|named args=yes

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}}