Template:BTD6 changes/doc: Difference between revisions

No edit summary
more documentation
Line 21: Line 21:
"type": "content",
"type": "content",
"required": true
"required": true
},
"upcoming": {
"label": "Upcoming?",
"description": "If true, these changes will be labelled as \"(upcoming)\" on the page and in cargo queries. Set this to any value to enable it.",
"example": "y",
"type": "boolean"
},
},
"names": {
"names": {
Line 37: Line 31:
"type": "string",
"type": "string",
"required": true
"required": true
},
"show quote": {
"label": "Show quote?",
"description": "If set to \"0\", the quote will not be displayed on this page, but will still be stored and used for cargo queries.",
"type": "boolean"
},
"version note": {
"label": "Version note",
"description": "Adds text in parentheses after the version number in cargo queries. For example, if this change is from a future update, this can be used to specify that the change is \"upcoming\".",
"example": "upcoming",
"type": "string"
},
"priority": {
"label": "Priority",
"description": "Determines the order that changes within each version will be displayed in cargo queries.",
"type": "number"
},
"changes store": {
"label": "Changes store",
"description": "The value in this parameter will be stored in the cargo table instead of the value of the \"changes\" parameter if this is set to anything. This can be used to display a different value on the page this template is used on than on the pages that use cargo queries.",
"type": "string"
}
}
},
},
Line 42: Line 57:
"paramOrder": [
"paramOrder": [
"version",
"version",
"version note",
"quote",
"quote",
"show quote",
"changes",
"changes",
"upcoming",
"changes store",
"names"
"names",
"priority"
],
],
"format": "block"
"format": "block"