Template:BTDB2 last updated/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<templatedata> { "params": { "1": { "label": "Version number", "description": "The version number to use.", "example": "46.0", "type": "string", "required": true } }, "format": "inline", "description": "Creates a hatnote to be used at the top of stats and strategy articles pertaining to Battles 2. Like other hatnotes, this should be placed above any notice templates, such as {{stub}}." } </templatedata> ==Example usage== <pre>{{BTDB2 last updated|..." |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 5: | Line 5: | ||
"label": "Version number", | "label": "Version number", | ||
"description": "The version number to use.", | "description": "The version number to use.", | ||
"example": " | "example": "4.0", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"2": { | |||
"label": "OTA number", | |||
"description": "The OTA number to use.", | |||
"example": "1", | |||
"type": "string" | |||
}, | |||
"section": { | |||
"label": "Section?", | |||
"description": "If set to anything, displays \"this section was\" instead of \"this article was\".", | |||
"type": "boolean" | |||
} | } | ||
}, | }, | ||
| Line 16: | Line 27: | ||
==Example usage== | ==Example usage== | ||
<pre>{{BTDB2 last updated|4. | <pre>{{BTDB2 last updated|4.4}}</pre> | ||
{{BTDB2 last updated|4. | {{BTDB2 last updated|4.4}} | ||
<pre>{{BTDB2 last updated|4.4|1}}</pre> | |||
{{BTDB2 last updated|4.4|1}} | |||
<includeonly>[[Category:Battles 2 templates]][[Category:Hatnotes]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | <includeonly>[[Category:Battles 2 templates]][[Category:Hatnotes]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||
Latest revision as of 03:19, 30 June 2025
Creates a hatnote to be used at the top of stats and strategy articles pertaining to Battles 2. Like other hatnotes, this should be placed above any notice templates, such as {{stub}}.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Version number | 1 | The version number to use.
| String | required |
| OTA number | 2 | The OTA number to use.
| String | optional |
| Section? | section | If set to anything, displays "this section was" instead of "this article was". | Boolean | optional |
Example usage
{{BTDB2 last updated|4.4}}
This article was last updated for: version 4.4
{{BTDB2 last updated|4.4|1}}
This article was last updated for: version 4.4 OTA 1