Template:Lst with substitution/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
holy shit it worked maybe I can finally stop fucking around with multiple lede sections
wait i think it actually worked perfectly????/
Line 25: Line 25:
"label": "Second substring to replace",
"label": "Second substring to replace",
"type": "string",
"type": "string",
"required": true
"required": false
},
},
"6": {
"6": {
"label": "Second replacement string",
"label": "Second replacement string",
"type": "string",
"type": "string",
"required": true
"required": false
}
}
},
},

Revision as of 02:02, 18 August 2026

An alternative to the LST parser function that allows one substring in the transcluded text to be substituted with another string.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page name1

no description

Stringrequired
Section name2

no description

Stringrequired
First substring to replace3

no description

Stringrequired
First replacement string4

no description

Stringrequired
Second substring to replace5

no description

Stringoptional
Second replacement string6

no description

Stringoptional

Example usage

{{lst with substitution|Rapid Reload (BTD5)|lede|BTD5|Battles}}

It reduces its attack cooldown by a flat 0.49 seconds, effectively increasing its attack speed by roughly 30% (roughly 37.4% if crosspathed with The Big One).