Template:BTD6 update info/doc: Difference between revisions

m fixing parameter documentation
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
"params": {
"params": {
"prev": {
"prev": {
"label": "Previous update",
"label": "Previous major update",
"description": "The version number of the previous major 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",
Line 17: Line 17:
},
},
"next": {
"next": {
"label": "Next update",
"label": "Next major update",
"description": "The version number of the next major 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",
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 52: Line 47:
"label": "Microsoft Store release date",
"label": "Microsoft Store release date",
"description": "Release date on the Microsoft Store. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"description": "Release date on the Microsoft Store. Your input should use the {{date}} template, or {{timestamp}} template if that information is available.",
"type": "string"
},
"epic games store date": {
"label": "Epic Games release date",
"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"
},
},
Line 70: Line 60:
"example": "9.1",
"example": "9.1",
"type": "number"
"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.",
"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]].",
Line 77: Line 118:
"version",
"version",
"image",
"image",
"build",
"description",
"app store date",
"app store date",
"google play date",
"google play date",
"amazon appstore date",
"amazon appstore date",
"steam date",
"steam windows date",
"steam macos date",
"microsoft store date",
"microsoft store date",
"epic games 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",
"prev",
"next",
"next",
Line 90: Line 146:
}
}
</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>