Template:BTD6 changes/doc: Difference between revisions
m changing the names delimiter to a semicolon so it works properly on subjects that have a comma in their names (like certain achievements) |
Pymonkibot (talk | contribs) m Text replacement - "Category:Change list templates" to "Category:Update history templates" |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 15: | Line 15: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "hide quote": { | ||
"label": "Hide quote?", | |||
"description": "If enabled, the quote will not be displayed on this page, but will still be stored and used for cargo queries.", | |||
"label": " | |||
"description": "If | |||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
| Line 45: | Line 28: | ||
"priority": { | "priority": { | ||
"label": "Priority", | "label": "Priority", | ||
"description": "Determines the order that changes within each version will be displayed in cargo queries.", | "description": "Determines the order that changes within each version will be displayed in cargo queries. Greater numbers are placed higher.", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"changes store": { | "changes 1 names": { | ||
"label": "Changes store", | "aliases": [ | ||
"names", | |||
"name", | |||
"names 1", | |||
"name 1" | |||
], | |||
"label": "Changes 1 names", | |||
"description": "A list of names of subjects, separated by semicolons. This is the \"key\" used to list changes using Cargo; for example, creating a list of changes with the name \"Dark Castle\" and querying a list of changes with the name \"Dark Castle\" will only display changes under the name \"Dark Castle\". If using multiple names, separate them with commas with one space. NOTE: Previously, the separator was a comma with one space. If a page still uses this, it needs to be edited to use a semicolon with no space for it to work properly.", | |||
"example": "Dreadbloon;Dreadrock Bloon", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"changes 1": { | |||
"aliases": [ | |||
"changes" | |||
], | |||
"label": "Changes 1", | |||
"description": "A list of changes. This text is copied and transcluded verbatim when using Cargo queries, so you have to format it as an unordered list and use the appropriate buff/nerf/change templates as needed.", | |||
"example": "*{{nerf|Base movement speed ramping level endures persistently *{{change|Max level goggle tightness loosened|Max|Sam}}", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"changes 1 store": { | |||
"aliases": [ | |||
"changes store" | |||
], | |||
"label": "Changes 1 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.", | "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" | "type": "string" | ||
} | }, | ||
"changes 2 names": { | |||
"aliases": [ | |||
"changes 2 name" | |||
], | |||
"label": "Changes 2 names", | |||
"description": "The same thing as \"Changes 1 names\", but for \"Changes 2\".", | |||
"type": "string" | |||
}, | |||
"changes 2": { | |||
"description": "A second list of changes, for if you want to display changes that apply to different subjects in a single list.", | |||
"type": "string" | |||
}, | |||
"changes 2 store": { | |||
"label": "Changes 2 store", | |||
"description": "The same thing as \"Changes 1 store\", but for \"Changes 2\".", | |||
"type": "string" | |||
}, | |||
"changes 3 names": { | |||
"aliases": [ | |||
"changes 3 name" | |||
] | |||
}, | |||
"changes 3": {}, | |||
"changes 3 store": {}, | |||
"changes 4 names": { | |||
"aliases": [ | |||
"changes 4 name" | |||
] | |||
}, | |||
"changes 4": {}, | |||
"changes 4 store": {}, | |||
"changes 5 names": { | |||
"aliases": [ | |||
"changes 5 name" | |||
] | |||
}, | |||
"changes 5": {}, | |||
"changes 5 store": {}, | |||
"changes 6 names": { | |||
"aliases": [ | |||
"changes 6 name" | |||
] | |||
}, | |||
"changes 6": {}, | |||
"changes 6 store": {}, | |||
"changes 7 names": { | |||
"aliases": [ | |||
"changes 7 name" | |||
] | |||
}, | |||
"changes 7": {}, | |||
"changes 7 store": {}, | |||
"changes 8 names": { | |||
"aliases": [ | |||
"changes 8 name" | |||
] | |||
}, | |||
"changes 8": {}, | |||
"changes 8 store": {}, | |||
"changes 9 names": { | |||
"aliases": [ | |||
"changes 9 name" | |||
] | |||
}, | |||
"changes 9": {}, | |||
"changes 9 store": {}, | |||
"changes 10 names": { | |||
"aliases": [ | |||
"changes 10 name" | |||
] | |||
}, | |||
"changes 10": {}, | |||
"changes 10 store": {} | |||
}, | }, | ||
"description": "This template formats a list of changes and stores it using Cargo. This is a generic template for listing changes to most gameplay features (maps, powers, knowledge, etc). Changes to towers and heroes should use their dedicated changes template instead.", | "description": "This template formats a list of changes and stores it using Cargo. This is a generic template for listing changes to most gameplay features (maps, powers, knowledge, etc). Changes to towers and heroes should use their dedicated changes template instead.", | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:BTD6 templates]][[Category: | <includeonly>[[Category:BTD6 templates]][[Category:Update history templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||