Template:BTD6 mk list: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 11: | Line 11: | ||
|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:{{{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.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 | ||
}}</includeonly><noinclude>{{/doc}}</noinclude> | }}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Revision as of 12:09, 3 December 2025
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}}
| Item | Cost | Prerequisites | Introduced |
|---|---|---|---|
| Free |
|
Launch | |
| Free | — | Launch | |
| Free |
|
Launch | |
| Free |
|
Launch | |
| Free | — | Launch | |
| Free | — | Version 22.0 | |
| Free | — | Launch | |
| Free | Launch | ||
| Free | Launch | ||
| Free | Version 6.0 | ||
| Free | Launch | ||
| Free | Version 22.0 | ||
| Free | Launch | ||
| Free | Launch | ||
| Version 22.0 | |||
| Launch | |||
| Version 6.0 | |||
| Launch | |||
| Launch | |||
| Launch | |||
| Version 6.0 | |||
| Launch | |||
| Version 22.0 | |||
| Launch | |||
| Version 15.0 | |||
| Launch | |||
| Launch | |||
| Version 17.0 | |||
| Launch | |||
| Launch |
{{BTD6 mk list|include=One More Spike;First Last Line of Defense;Hi-Value Mines;Very Shreddy|exclude others=y}}
| Item | Cost | Prerequisites | Introduced |
|---|---|---|---|
| Free |
|
Version 22.0 | |
| Free | — | Launch | |
| Launch | |||
| Launch |