Template:BTD6 update info/doc: Difference between revisions

Created page with "<templatedata> { "params": { "prev": { "label": "Previous update", "description": "The version number of the previous update. Needs to be a number and include the decimal.", "example": "9.0", "type": "number", "suggested": true }, "version": { "label": "Version number", "description": "Used for the version number in the infobox header. Needs to be a number and include the decimal.", "example": "10.0", "type": "number", "required": tru..."
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
"params": {
"params": {
"prev": {
"prev": {
"label": "Previous update",
"label": "Previous major update",
"description": "The version number of the previous update. Needs to be a number and include the decimal.",
"description": "The version number of the previous major update. Needs to be a number and include the decimal.",
"example": "9.0",
"example": "9.0",
"type": "number",
"type": "number",
Line 17: Line 17:
},
},
"next": {
"next": {
"label": "Next update",
"label": "Next major update",
"description": "The version number of the next update. Needs to be a number and include the decimal.",
"description": "The version number of the next major update. Needs to be a number and include the decimal.",
"example": "11.0",
"example": "11.0",
"type": "number",
"type": "number",
Line 25: Line 25:
"image": {
"image": {
"label": "Image",
"label": "Image",
"description": "An image to represent the update.",
"description": "An image to represent the update. (Do not use this for minor updates, unless they have a unique image.)",
"example": "BTD6 45.0 promo.jpg",
"example": "BTD6 45.0 promo.jpg",
"type": "wiki-file-name"
"type": "wiki-file-name"
Line 42: Line 42:
"label": "Amazon Appstore release date",
"label": "Amazon Appstore release date",
"description": "Release date on the Amazon Appstore. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"description": "Release date on the Amazon Appstore. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"type": "string"
},
"steam date": {
"label": "Steam release date",
"description": "Release date on Steam. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"type": "string"
"type": "string"
},
},
Line 54: Line 49:
"type": "string"
"type": "string"
},
},
"epic games date": {
"prev minor": {
"label": "Epic Games release date",
"label": "Previous minor update",
"description": "The version number of the previous minor update. Needs to be a number and include the decimal.",
"example": "9.1",
"type": "number"
},
"next minor": {
"label": "Next minor update",
"description": "The version number of the next minor update. Needs to be a number and include the decimal.",
"example": "9.1",
"type": "number"
},
"build": {
"label": "Build number",
"type": "number",
"suggested": true
},
"steam macos date": {
"label": "Steam (macOS) release date",
"description": "Release date on Steam for macOS. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"type": "string"
},
"apple arcade ios date": {
"aliases": [
"apple arcade date"
]
},
"apple arcade macos date": {},
"apple arcade visionos date": {},
"netflix app store date": {},
"netflix google play date": {
"aliases": [
"netflix date"
]
},
"xd app store date": {},
"xd taptap date": {},
"description": {
"label": "Description",
"description": "The in-game description of this update. This is not displayed in the infobox, but is used in cargo queries.",
"type": "string"
},
"xbox one date": {},
"ps4 date": {},
"switch date": {},
"steam windows date": {
"aliases": [
"steam date"
],
"label": "Steam (Windows) release date",
"description": "Release date on Steam for Windows. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"type": "string"
},
"epic games store windows date": {
"aliases": [
"epic games store date"
],
"label": "Epic Games (Windows) release date",
"description": "Release date on Epic Games. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"description": "Release date on Epic Games. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"type": "string"
"type": "string"
}
},
"epic games store ios date": {},
"epic games store android date": {}
},
},
"description": "Infobox used for BTD6 updates. Articles with this template are automatically added to [[Category:BTD6 updates]].",
"description": "Infobox used for BTD6 updates. Articles with this template are automatically added to [[Category:BTD6 updates]].",
"format": "block"
"format": "block",
"paramOrder": [
"version",
"image",
"build",
"description",
"app store date",
"google play date",
"amazon appstore date",
"steam windows date",
"steam macos date",
"microsoft store date",
"epic games store windows date",
"epic games store ios date",
"epic games store android date",
"apple arcade ios date",
"apple arcade macos date",
"apple arcade visionos date",
"netflix app store date",
"netflix google play date",
"xd app store date",
"xd taptap date",
"xbox one date",
"ps4 date",
"switch date",
"prev",
"next",
"prev minor",
"next minor"
]
}
}
</templatedata>
</templatedata>
 
<includeonly>[[Category:BTD6 templates]][[Category:Infoboxes]]</includeonly><noinclude>[[Category:Incomplete documentation]]</noinclude>
==Example usage==
{{BTD6 update info}}
<includeonly>[[Category:BTD6 templates]][[Category:Infoboxes]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>