Template:Generic cargo query/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
{ | { | ||
"params": { | "params": { | ||
"image size": {}, | "image size": {}, | ||
"extra col 1": {}, | "extra col 1": {}, | ||
| Line 12: | Line 7: | ||
"extra col 3": {}, | "extra col 3": {}, | ||
"extra col 4": {}, | "extra col 4": {}, | ||
"order by": {} | "order by": {}, | ||
"no description": { | |||
"label": "Disable descriptions", | |||
"description": "If set to anything, the \"Name / description\" column is replaced with a \"Name\" column and descriptions are not included in the query.", | |||
"type": "boolean" | |||
}, | |||
"limit": {}, | |||
"table": { | |||
"label": "Table", | |||
"description": "The name of the Cargo table to use.", | |||
"example": "btd6_towers", | |||
"type": "string", | |||
"required": true, | |||
"aliases": [ | |||
"tables" | |||
] | |||
}, | |||
"col align left": {}, | |||
"image field": {}, | |||
"name field": {}, | |||
"description field": {}, | |||
"extra col 5": {}, | |||
"extra col 6": {}, | |||
"where": {}, | |||
"group by": {}, | |||
"join on": {}, | |||
"extra col 7": {}, | |||
"extra col 8": {} | |||
}, | }, | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"table", | |||
"no description", | |||
"image size", | |||
"extra col 1", | |||
"extra col 2", | |||
"extra col 3", | |||
"extra col 4", | |||
"extra col 5", | |||
"extra col 6", | |||
"extra col 7", | |||
"extra col 8", | |||
"col align left", | |||
"image field", | |||
"name field", | |||
"description field", | |||
"where", | |||
"order by", | |||
"group by", | |||
"limit", | |||
"join on" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||