Template:Item icon
Jump to navigation
Jump to search
This template defines the table "item_icon". View table.
This template fetches an icon for an item using Cargo. It also declares the Cargo table for the "item_icon" table that stores this information. The information is uploaded using the standard item descriptions.
Usage: {{ItemIcon|the_items_page_name|optional_size}}
Example: {{Icon
|Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'of Healing ORDER BY `cargo__item_icon`.`_pageID`,`icon` LIMIT 100' at line 1
Function: CargoSQLQuery::run Query: SELECT `cargo__item_icon`.`_pageID` AS `cargo_backlink_page_id_item_icon`,`icon` AS `icon` FROM `cargo__item_icon` WHERE `cargo__item_icon`.`name`=Potion of Healing ORDER BY `cargo__item_icon`.`_pageID`,`icon` LIMIT 100
|40
Copy-ready example: {{ItemIcon|}}