Template:BTDB2 last updated/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
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|..."
 
No edit summary
Line 5: Line 5:
"label": "Version number",
"label": "Version number",
"description": "The version number to use.",
"description": "The version number to use.",
"example": "46.0",
"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"
}
}
},
},
Line 16: Line 22:


==Example usage==
==Example usage==
<pre>{{BTDB2 last updated|4.0}}</pre>
<pre>{{BTDB2 last updated|4.4}}</pre>
{{BTDB2 last updated|4.0}}
{{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>

Revision as of 23:14, 5 January 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}}.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Version number1

The version number to use.

Example
4.0
Stringrequired
OTA number2

The OTA number to use.

Example
1
Stringoptional

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