Template:SubsWithWeapon: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 3: Line 3:
! Amount
! Amount
|-
|-
{{#cargo_query:table = Submarines
<!--{{#cargo_query:table = Submarines
| format = template
| format = template
| fields = _pageName,name,{{lc:{{{1|{{PAGENAME}}}}}}}s
| fields = _pageName,name,{{lc:{{{1|{{PAGENAME}}}}}}}s
Line 11: Line 11:
| delimiter = \n
| delimiter = \n
| named args = yes
| named args = yes
}}
-->{{#cargo_query:table = Submarines
| fields = name
| where = {{lc:{{{1|{{PAGENAME}}}}}}}s NOT LIKE "0"
| order by = name ASC
}}
}}
|}
|}

Revision as of 02:08, 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`,`name` AS `name` FROM `cargo__Submarines` WHERE subswithweapons NOT LIKE "0" ORDER BY `name` LIMIT 100

Submarine Amount