Template:SubsWithWeapon: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|
! Submarine
! Amount
|-
{{#cargo_query:table = Submarines
{{#cargo_query:table = Submarines
| format = template
| format = template
| fields = name,{{lc:{{{1|{{PAGENAME}}}}}}}s
| fields = _pageName,name
| where = {{lc:{{{1|{{PAGENAME}}}}}}}s NOT LIKE "0"
| where = {{#replace:{{lc:{{{1|{{PAGENAME}}}}}}}s| |}} NOT LIKE "0"
| template = SubsWithWeapon/entry{{!}}{{lc:{{{1|{{PAGENAME}}}}}}}s
| template = SubsWithWeapon/entry
| order by = name ASC
| order by = name ASC
| delimiter = \n
| named args = yes
| named args = yes
}}
}}
|}

Latest revision as of 02:29, 2 August 2022

Error 1054: Unknown column 'subswithweapons' in 'where clause'

Function: CargoSQLQuery::run Query: SELECT `cargo__Submarines`.`_pageID` AS `cargo_backlink_page_id_Submarines`,`_pageName` AS `_pageName`,`name` AS `name` FROM `cargo__Submarines` WHERE subswithweapons NOT LIKE "0" ORDER BY `name` LIMIT 100