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|2}}}>1|s}}]] {{formatnum:{{{1|}}}}}{{#if:{{{name|}}}|<nowiki> </nowiki>[[Banana Farmer (Battles 2)|Banana Farmer]]{{#ifexpr:{{{1|2}}}>1|s}}}}</includeonly><noinclude>{{/doc}}</noinclude>
<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>

Revision as of 04:40, 19 November 2024

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 Farmer
{{BTDB2 bf|9999}}
Banana Farmers 9,999
{{BTDB2 bf|1|name=y}}
Banana Farmer 1 Banana Farmer
{{BTDB2 bf|100|name=y}}
Banana Farmers 100 Banana Farmers