Help:Querying Cargo data: Difference between revisions

From Saintapedia
Jump to navigation Jump to search
m (Tom moved page Extension:Cargo/Querying data to Help:Querying Cargo data: help namespace)
(suggest merge)
 
Line 1: Line 1:
{{Merge|Help:Cargo (Query)|date=November 2024}}
'''Querying data''' within [[Cargo]] can be done in a number of ways:
'''Querying data''' within [[Cargo]] can be done in a number of ways:



Latest revision as of 15:45, 3 November 2024

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