Template:BTD6 cosmetic item list by introduced: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="center-col-2">
<includeonly>{{#if:{{{hide trophy store|}}}|{{generic cargo compact list|tables=btd6_cosmetic_items=items
{{#cargo_query:table=btd6_cosmetic_items
|image field=items.image
|fields=CONCAT("[[File:", image, "|20x20px|", name, "]] [[", _pageName, "#", name, "|", name, "]]") = Name,
|link field=CONCAT(items._pageName, "#", items.name)
CONCAT(category, " ", subcategory) = Category
|name field=items.name
|where=introduced = "{{{1|}}}"
 
|format=table
|extra col 1=CONCAT(items.category, " [[", items._pageName, "|", items.subcategory, "]]") = Category
}}</div></includeonly><noinclude>{{/doc}}</noinclude>
|center extra cols=y
 
|where=items.introduced = "{{{1|}}}" {{#if:{{{xd only|}}}|AND xd_only|AND NOT xd_only}}
|order by=items.category, items.subcategory, items.name
}}|{{generic cargo compact list|tables=btd6_cosmetic_items=items, btd6_cosmetic_sources=sources
|image field=items.image
|link field=CONCAT(items._pageName, "#", items.name)
|name field=items.name
 
|extra col 1=CONCAT(items.category, " ― [[", items._pageName, "|", items.subcategory, "]]") = Category
|extra col 2=IF(GROUP_CONCAT(sources.name) LIKE "%Trophy Store%", "{{Y}}", "{{N}}") = Trophy Store?
|center extra cols=y
 
|where=items.introduced = "{{{1|}}}" {{#if:{{{xd only|}}}|AND xd_only|AND NOT xd_only}}
|join on =items.id = sources.item
|group by=items._pageName, items.name, items.image, items.category, items.subcategory, items.introduced
|order by=Trophy Store? DESC, items.category, items.subcategory, items.name
}}}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 08:06, 8 April 2026

Generates a table of cosmetic items in Bloons TD 6 according to the version they were introduced in using a Cargo query.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Version1

The version to list items from. Must be a number and cannot include the "v".

Example
40.0
Numberrequired
XD only?xd only

If enabled, shows items exclusive to the Chinese version. If not, Chinese version-exclusive items are excluded.

Booleanoptional

Example usage

{{BTD6 cosmetic item list by introduced|45.0}}