Template:Lst with substitution/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<templatedata> { "params": { "1": { "label": "Page name", "type": "string", "required": true }, "2": { "label": "Section name", "type": "string", "required": true }, "3": { "label": "Substring to replace", "type": "string", "required": true }, "4": { "label": "Replacement string", "type": "string", "required": true } }, "description": "An alternative to the LST parser function that allows one substring in the transcl..." |
Planterror (talk | contribs) third |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
}, | }, | ||
"3": { | "3": { | ||
"label": " | "label": "First substring to replace", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"4": { | "4": { | ||
"label": " | "label": "First replacement string", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"5": { | |||
"label": "Second substring to replace", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"6": { | |||
"label": "Second replacement string", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"7": { | |||
"label": "Third substring to replace", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"8": { | |||
"label": "Third replacement string", | |||
"type": "string", | |||
"required": false | |||
} | } | ||
}, | }, | ||
| Line 30: | Line 50: | ||
<pre>{{lst with substitution|Rapid Reload (BTD5)|lede|BTD5|Battles}}</pre> | <pre>{{lst with substitution|Rapid Reload (BTD5)|lede|BTD5|Battles}}</pre> | ||
{{lst with substitution|Rapid Reload (BTD5)|lede|BTD5|Battles}} | {{lst with substitution|Rapid Reload (BTD5)|lede|BTD5|Battles}} | ||
<pre>{{lst with substitution|Semi Automatic Rifle (BTD5)|lede|BTD5|BMC|Bloons TD 5|Bloons Monkey City}}</pre> | |||
{{lst with substitution|Semi Automatic Rifle (BTD5)|lede|BTD5|BMC|Bloons TD 5|Bloons Monkey City}} | |||
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | <includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||
Latest revision as of 02:34, 26 August 2026
An alternative to the LST parser function that allows one substring in the transcluded text to be substituted with another string.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page name | 1 | no description | String | required |
| Section name | 2 | no description | String | required |
| First substring to replace | 3 | no description | String | required |
| First replacement string | 4 | no description | String | required |
| Second substring to replace | 5 | no description | String | optional |
| Second replacement string | 6 | no description | String | optional |
| Third substring to replace | 7 | no description | String | optional |
| Third replacement string | 8 | no description | String | optional |
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).
{{lst with substitution|Semi Automatic Rifle (BTD5)|lede|BTD5|BMC|Bloons TD 5|Bloons Monkey City}}
It reduces the Sniper Monkey's attack cooldown by ~66.64%. In the Flash version of Bloons Monkey City, the attack cooldown is reduced by ~67.4% instead and also gains the ability to pop Lead Bloons.