Template:Favilink
!!Currently only for use for objects in the ItemsTable!!
Usage
Used similar to regular wikipage linking syntax. First argument takes name of the page and will pull the image from that item.
{{favilink|torch}}
Function: CargoSQLQuery::run Query: SELECT `ItemsTable`.`_pageID` AS `cargo_backlink_page_id_ItemsTable`,CONCAT('File:',Image,'') FROM `ItemsTable` WHERE _pageNamespace='0'AND _pageName='torch' ORDER BY `ItemsTable`.`_pageID`,CONCAT('File:',Image,'') LIMIT 100
You can also use a second argument to reword the link:
{{favilink|torch|A really spicy meatball}}
Function: CargoSQLQuery::run Query: SELECT `ItemsTable`.`_pageID` AS `cargo_backlink_page_id_ItemsTable`,CONCAT('File:',Image,'') FROM `ItemsTable` WHERE _pageNamespace='0'AND _pageName='torch' ORDER BY `ItemsTable`.`_pageID`,CONCAT('File:',Image,'') LIMIT 100