Template:Web Link Query: Difference between revisions

From Indian River Lagoon Project
(Created page with "<includeonly> {{#cargo_query: tables=weblink |fields=_pageName, Name, Link_Url, Topic, Subtopic, Description, Site_Logo, Screenshot, Poster, Postdate |where={{{where|name}}} L...")
 
mNo edit summary
 
Line 14: Line 14:
<noinclude>This template is used to query the Web Link Cargo Table and display the results with Template:Web Link Box or Row.
<noinclude>This template is used to query the Web Link Cargo Table and display the results with Template:Web Link Box or Row.


Use <code><nowiki> {{Web Link Query|where=name|like=Indian River Lagoon News Facebook|template=Web Link Box|limit= 1}} </nowiki></code> to display a Timeline Box on a page.
Use <code><nowiki>{{Web Link Query|where=name|like=Indian River Lagoon News Facebook|template=Web Link Box|limit= 1}} </nowiki></code> to display a Timeline Box on a page.


{{Web Link Query|where=name|like=Indian River Lagoon News Facebook|template=Web Link Box|limit= 1}}
Default parameters will display 1 entry using Template:Web Link Box <code><nowiki>{{Web Link Query|where=Name|like=Indian River Lagoon News Facebook}}</nowiki></code>
 
{{Web Link Query|where=Name|like=Indian River Lagoon News Facebook}}
 
Use Template:Web Link Row to display 3 entries where=Topic and like=Restoration <code><nowiki>{{Web Link Query|where=Topic|like=Restoration|template=Web Link Row|limit=3}}</nowiki></code>
 
{{Web Link Query|where=Topic|like=Restoration|template=Web Link Row|limit=3}}
</noinclude>
</noinclude>

Latest revision as of 18:59, November 5, 2020

This template is used to query the Web Link Cargo Table and display the results with Template:Web Link Box or Row.

Use {{Web Link Query|where=name|like=Indian River Lagoon News Facebook|template=Web Link Box|limit= 1}} to display a Timeline Box on a page.

Default parameters will display 1 entry using Template:Web Link Box {{Web Link Query|where=Name|like=Indian River Lagoon News Facebook}}


Error: No field named "Postdate" found for any of the specified database tables.


Use Template:Web Link Row to display 3 entries where=Topic and like=Restoration {{Web Link Query|where=Topic|like=Restoration|template=Web Link Row|limit=3}}


Error: No field named "Postdate" found for any of the specified database tables.