Module:CargoQuery/doc

From Granblue Fantasy Wiki
Jump to navigation Jump to search

This is the documentation page for Module:CargoQuery

Based on https://help.gamepedia.com/Module:CargoQuery.

This module lets you get around the |no html= bug that Cargo has by avoiding |format=template.

Use Lua names of all query parameters, so |, |groupBy=, etc.

For simplicity of code, the named args parameter is required to be Yes, and you do not need to specify it.

Unlike |format=template, this wrapper will NOT rename parameters with underscores in them to use spaces instead.

Parameters & Invocation

{{#invoke:CargoQuery|template
|tables= 	corresponds to table / tables
|join= 		corresponds to join on
|fields= 	corresponds to fields
|where= 	corresponds to where
|groupBy= 	corresponds to group by
|having= 	corresponds to having
|orderBy= 	corresponds to order by
|limit= 	corresponds to limit
|template=
|intro=
|outro=
|delimiter=
|default=
}}

Dependencies