Help:Querying Cargo data

From USApedia

Querying data within Cargo can be done in a number of ways:

  • Via two parser functions, #cargo_query and #cargo_compound_query
  • At the page Special:ViewData, which provides a simple interface that lets you set the parameters for a query
  • Via a query written in Lua, using the Scribunto extension
  • Simply by SQL calls, if you have direct access to the Cargo database.

The #cargo_query and #cargo_compound_query functions are explained on this page; #cargo_compound_query function essentially calls two or more queries at the same time, then displays their results together. The interface at Special:ViewTable provides the same parameters that #cargo_query does.

Official Site - mediawiki.org

Related