Help:Inline queries/Changing the first result column

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

Most queries by default display the actual result pages in the first result position, e.g. as the first column in a table. The header of this column is usually blank. To change the label, or to hide the whole first column, the parameter mainlabel can be used. Normally, the text given to that parameter will simply be used as a header for the first column, for example in the query

This will produce the table:

The parameter mainlabel can also be used to completely hide the first column. This happens if the value of this parameter is set to «-» (minus symbol). To insert the list of main results at another position, the printout statement «?», i.e. the question mark without any additions, can be used. For example, modifying the example above to display the city name after Population,

This results in the table: