Template:Generic cargo query/doc: Difference between revisions
mNo edit summary |
No edit summary |
||
| 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 | |||
} | |||
}, | }, | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"table", | |||
"no description", | |||
"image size", | |||
"extra col 1", | |||
"extra col 2", | |||
"extra col 3", | |||
"extra col 4", | |||
"order by", | |||
"limit" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||