Template:BTDB2 bf: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>[[File:BTDB2 farmer_reward.png|x20px|link=Banana Farmer (Battles 2)|Banana Farmer{{#ifexpr:{{{1|0}}}>1|s}}]] {{formatnum:{{{1|}}}}}{{#if:{{{name|}}}|<nowiki> </nowiki>[[Banana Farmer (Battles 2)|Banana Farmer]]{{#ifexpr:{{{1|2}}}>1|s}}}}</includeonly><noinclude>{{/doc}}</noinclude>
<includeonly>{{item
|image=BTDB2 farmer_reward.png
|size={{{size|}}}
|name=Banana Farmer
|plural=Banana Farmers
|link=Banana Farmer (Battles 2)
|amount={{{1|}}}
|show name={{{name|}}}
|show link={{{link|}}}
}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 00:11, 22 July 2025

Creates an icon of the Banana Farmer reward from Bloons TD Battles 2 that links to "Banana Farmer (Battles 2)". Can also display a formatted number.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Amount1

If specified, displays a number after the icon. If greater than 1000, comma separation is added automatically by the template.

Example
100
Numbersuggested
Namename

If set to anything, adds a text link to "Banana Farmer (Battles 2)" after the icon and (if an amount is specified) amount. Rendered as "Banana Farmers" if the amount is greater than 1 or no amount is specified.

Example
y
Booleanoptional

Example usage

Wikitext Result
{{BTDB2 bf}}
Banana Farmers
{{BTDB2 bf|9999}}
Banana Farmers ×9,999
{{BTDB2 bf|1|name=y}}
Banana Farmer Banana Farmer ×1
{{BTDB2 bf|100|name=y}}
Banana Farmers Banana Farmer ×100