| query | |
|---|
| properties | | type | "array" |
|---|
| items | | type | "object" |
|---|
| $ref | "JsonSchema:SMW_ask_query/formatting" |
|---|
|
|---|
|
|---|
| format | | type | "string" |
|---|
| description | "Selected output format; some formats allow further parameters" |
|---|
| enum | | "table" |
| "list" |
| "ul" |
| "ol" |
| "filtered" |
| "datatables" |
| "template" |
| "count" |
| "json" |
| "rss" |
| "csv" |
| "icalendar" |
| "timeline" |
|
|---|
|
|---|
| limit | | type | "integer" |
|---|
| description | "Maximal number of pages selected (in the case of a table: rows)" |
|---|
| minimum | 0 |
|---|
| default | 50 |
|---|
|
|---|
| offset | | type | "integer" |
|---|
| description | "Where to start selecting pages" |
|---|
| minimum | 0 |
|---|
| default | 0 |
|---|
|
|---|
| sort | | type | "array" |
|---|
| description | "Name of properties to use for sorting queries. A blank value stands for the main result column" |
|---|
| items | |
|---|
| examples | |
|---|
|
|---|
| order | | type | "array" |
|---|
| description | "List of orders if more than one property is used for sorting" |
|---|
| items | | type | "string" |
|---|
| enum | | "asc" |
| "ascending" |
| "desc" |
| "descending" |
| "reverse" |
| "rand" |
| "random" |
|
|---|
|
|---|
| default | "asc" |
|---|
|
|---|
| headers | | type | "string" |
|---|
| description | "How to display headers" |
|---|
| enum | |
|---|
| default | "show" |
|---|
|
|---|
| mainlabel | | type | "string" |
|---|
| description | "Title of the first column (the one with the page titles in it). Default is no title. Set to '-' to suppress printing the page titles" |
|---|
| default | "" |
|---|
|
|---|
| index | | type | "integer" |
|---|
| description | "Defines which value within a record should be displayed. Only applicable for properties of type Record" |
|---|
| minimum | 0 |
|---|
|
|---|
| lang | | type | "string" |
|---|
| description | "Defines which language of a monolingual text should be displayed. Only applicable for properties of type Monolingual text" |
|---|
|
|---|
| link | | type | "string" |
|---|
| description | "Defines which article names in the result are hyperlinked" |
|---|
| enum | |
|---|
| default | "all" |
|---|
|
|---|
| default | | type | "string" |
|---|
| description | "If the query returns no results, this will be printed instead" |
|---|
| examples | |
|---|
|
|---|
| intro | | type | "string" |
|---|
| description | "Initial text that prepends the output, if at least some results exist" |
|---|
|
|---|
| outro | | type | "string" |
|---|
| description | "Text that is appended to the output, if at least some results exist" |
|---|
|
|---|
| searchlabel | | type | "string" |
|---|
| description | "Text for continuing the search" |
|---|
| default | "… further results" |
|---|
|
|---|
| prefix | | type | "string" |
|---|
| description | "Handles the display of namespaces" |
|---|
| enum | | "none" |
| "subject" |
| "all" |
| "auto" |
|
|---|
| default | "auto" |
|---|
|
|---|