Template:BTD6 mk list: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
|extra col 1=CONCAT(CASE WHEN cost = 0 THEN "Free" ELSE CONCAT("[[File:BTD6 BloonjaminsIcon.png|x20px|link=Monkey Money (BTD6)|Monkey Money]] ", FORMAT(cost, 0)) END) = Cost | |extra col 1=CONCAT(CASE WHEN cost = 0 THEN "Free" ELSE CONCAT("[[File:BTD6 BloonjaminsIcon.png|x20px|link=Monkey Money (BTD6)|Monkey Money]] ", FORMAT(cost, 0)) END) = Cost | ||
|extra col 2=IF(btd6_mk.points_required = 0 AND (btd6_mk.prerequisites__full IS NULL OR btd6_mk.prerequisites__full = ""), "—", CONCAT( | |extra col 2=IF(btd6_mk.points_required = 0 AND (btd6_mk.prerequisites__full IS NULL OR btd6_mk.prerequisites__full = ""), "—", CONCAT( | ||
IF(btd6_mk.points_required > 0, CONCAT(" | IF(btd6_mk.points_required > 0, CONCAT("[[File:BTD6_KnowledgeIcon.png|20px|link=Monkey Knowledge Point]] ", points_required, " invested<br>"), ""), | ||
IF(prerequisites__full != "", GROUP_CONCAT( | IF(prerequisites__full != "", GROUP_CONCAT(prereq._value SEPARATOR "<br>"), ""))) = Prerequisites | ||
|introduced col game name=Bloons TD 6 | |introduced col game name=Bloons TD 6 | ||
|responsive=y | |responsive=y | ||
|limit={{{limit|}}} | |limit={{{limit|}}} | ||
|where=NOT unused {{#if:{{{category|}}}|AND btd6_mk.category = "{{{category|}}}"}} {{#if:{{{include|}}}| {{#if:{{{exclude others|}}}|AND|OR}} {{#invoke:cargo name list|main|btd6_mk.name|{{{include|x}}}}}}} | |where=NOT unused {{#if:{{{category|}}}|AND btd6_mk.category = "{{{category|}}}"}} {{#if:{{{introduced|}}}|AND btd6_mk.introduced = "{{{introduced|}}}"}} {{#if:{{{include|}}}| {{#if:{{{exclude others|}}}|AND|OR}} {{#invoke:cargo name list|main|btd6_mk.name|{{{include|x}}}}}}} | ||
|order by={{{order by|btd6_mk.points_required, btd6_mk.cost, btd6_mk.name, btd6_mk.introduced}}} | |order by={{{order by|btd6_mk.points_required, btd6_mk.cost, btd6_mk.prerequisites__full, btd6_mk.name, btd6_mk.introduced}}} | ||
|group by=btd6_mk._pageName, btd6_mk.name, btd6_mk.image, btd6_mk.description, btd6_mk.cost, btd6_mk.points_required, btd6_mk.introduced, btd6_mk.prerequisites__full | |group by=btd6_mk._pageName, btd6_mk.name, btd6_mk.image, btd6_mk.description, btd6_mk.category, btd6_mk.cost, btd6_mk.points_required, btd6_mk.introduced, btd6_mk.prerequisites__full | ||
|join on =btd6_mk._ID = prereq._RowID | |join on =btd6_mk._ID = prereq._RowID | ||
|col 1 name=Monkey Knowledge | |||
}}</includeonly><noinclude>{{/doc}}</noinclude> | }}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Latest revision as of 00:39, 8 July 2026
Uses Cargo to display a list of Monkey Knowledge upgrades. Use the parameters to restrict which kinds of MK to list.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category | category | Use this to only list MK that belongs to this category.
| String | optional |
| Order by | order by | A list of cargo table column names, separated by commas, to order this list by.
| String | optional |
| Limit | limit | The maximum number of MK to list. | Number | optional |
| Include | include | A list of MK names, separated by semicolons with no spaces, to also include in the list, ignoring the other conditions.
| String | optional |
| Exclude others | exclude others | Excludes all MK except those specifically included. | Boolean | optional |
Example usage
{{BTD6 mk list|category=Military}}
| Monkey Knowledge | Cost | Prerequisites | Introduced |
|---|---|---|---|
| Free | — | Launch | |
| Free | — | Launch | |
| Free | — | Version 22.0 | |
| Free | — | Launch | |
| Free | Airforce Upgrades | Launch | |
| Free | Elite Military Training | Launch | |
| Free | Naval Upgrades | Launch | |
| Free | Version 6.0 | ||
| Free | Accelerated Aerodarts |
Launch | |
| Free | Airforce Upgrades |
Launch | |
| Free | Big Bunch |
Launch | |
| Free | Ceramic Shock |
Launch | |
| Free | Emergency Unlock |
Version 22.0 | |
| Free | Naval Upgrades |
Launch | |
Breaking Ballistic |
Launch | ||
Extra Burny Stuff |
Version 6.0 | ||
Faster Takedowns |
Launch | ||
Gorgon Storm |
Version 22.0 | ||
Targeted Pineapples |
Launch | ||
Aeronautic Subsidy |
Version 15.0 | ||
Cheaper Maiming |
Launch | ||
Gun Coolant |
Launch | ||
Paint Stripper |
Version 6.0 | ||
Quad Burst Trade Agreements |
Version 22.0 | ||
Rapid Razors |
Launch | ||
Aeronautic Subsidy Door Gunner |
Launch | ||
Charged Chinooks |
Version 17.0 | ||
Flanking Maneuvers |
Launch | ||
Sub Admiral Master Defender |
Launch | ||
Trade Agreements |
Launch |
{{BTD6 mk list|include=One More Spike;First Last Line of Defense;Hi-Value Mines;Very Shreddy|exclude others=y}}
| Monkey Knowledge | Cost | Prerequisites | Introduced |
|---|---|---|---|
| Free | — | Launch | |
| Free | One More Spike | Version 22.0 | |
First Last Line of Defense |
Launch | ||
Very Shreddy |
Launch |