Template:Camp supplies list: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(remove list styling)
(Updated to support new misc_items table)
Line 1: Line 1:
{{div col}}<ul style="list-style:none">{{#cargo_query:
{{div col}}<ul style="list-style:none">{{#cargo_query:
tables=camp_supplies
tables=misc_items
|fields=_pageName=name, supplies
|fields=_pageName=page, name, camp_supplies, icon
|where={{{where|supplies="2"}}}
|where={{{where|camp_supplies="2"}}}
|more results text=
|more results text=
|format=template
|format=template

Revision as of 06:30, 15 April 2024

    Error 1054: Unknown column 'supplies' in 'order clause'

    Function: CargoSQLQuery::run Query: SELECT `cargo__misc_items`.`_pageID` AS `cargo_backlink_page_id_misc_items`,`_pageName` AS `page`,`name` AS `name`,`camp_supplies` AS `camp supplies`,`icon` AS `icon` FROM `cargo__misc_items` WHERE camp_supplies="2" ORDER BY `supplies` DESC,`_pageName` LIMIT 100

Creates a list of supplies.