Help:Inline queries/Standard parameters for inline queries

Subpages of the main Help page: * 3 /Standard parameters for inline queries **3.1 /Result limits and links to further results
 * 1 /Introduction to "hash"ask
 * 2 /The "hash"show parser function
 * 3.2 /Introduction and default text
 * 3.3 /Sorting results
 * 3.4 /Configuring labels or table headers
 * 3.5 /Changing the first result column
 * 4 /Result formats
 * 5 /Exporting query results: RSS, etc.
 * 6 /Using templates for custom formatting

In general, an inline query is a request to find a number of pages that satisfy certain requirements. The query must answer three questions: The first two points are explained in their respective manual pages. The third point is important to smoothly include query results in pages, yet is largely independent of the first two. Without further settings, queries often produce tables like above or simple lists (if no additional printouts are used). An example of another possible format are bulleted lists, which one can create with the parameter format=ol:
 * 1) Which pages are requested? (query description)
 * 2) What information should be displayed about those pages? (printout statements)
 * 3) How should the results be formatted within the page?

This will produce the following output:

SMW implements a wide variety of output formats for inline queries, and allows you to futher control results display using a MediaWiki template. The parameter format is one of the most important parameters for selecting the appearance of query results and will be explained in more detail below. The following table gives an overview of common parameters that can be used in basically all queries:

In addition to the above, some formats have their own parameters that control special aspects of the format. These special settings are described in the documentation of each format.