Template:Bridge Query: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>This template is used to query the "Bridge" Cargo Table for a single entry.</noinclude>
<noinclude>This template is used to query the "Bridge" Cargo Table.
<nowiki>{{Bridge Query|where=name|like=Wabasso Bridge|limit=1}}</nowiki>
</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|}}} LIKE '{{{like|}}}'
|order by=_ID DESC
|order by=Name DESC
|limit={{{limit|}}}
|limit={{{limit|}}}
|format=template
|format=template

Revision as of 20:12, October 25, 2020

This template is used to query the "Bridge" Cargo Table. {{Bridge Query|where=name|like=Wabasso Bridge|limit=1}}