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

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Created page with "<includeonly><table class="wikitable sortable"><tr><th class="unsortable">Icon</th><th>Name / Description</th><th>Category</th></tr>{{#cargo_query:table=btd6_cosmetic_items |fields=name,image,description,category,introduced |where={{#invoke:cargo name list|main|id|{{{1|x}}}}} |order by=category |format=template |template=BTDB2 cosmetic item list row |named args=yes }}</table></includeonly><noinclude>Category:Cargo query templatesCategory:BTD6 templates</noinclude>"
 
Pymonkibot (talk | contribs)
m Text replacement - "[[Bloons TD 6 v" to "[[Update history:Bloons TD 6/Version "
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><table class="wikitable sortable"><tr><th class="unsortable">Icon</th><th>Name / Description</th><th>Category</th></tr>{{#cargo_query:table=btd6_cosmetic_items
<includeonly><div class="center-col-2 responsive-block-col-1">{{#cargo_query:tables=btd6_cosmetic_items=items, btd6_cosmetic_sources=sources
|fields=name,image,description,category,introduced
|fields=
|where={{#invoke:cargo name list|main|id|{{{1|x}}}}}
CONCAT("[[File:", items.image, "|30px|link=", items._pageName, "#", items.name, "|Icon of ", items.name, "]] ", items.name) = Item,
|order by=category
CONCAT(items.category, " — ", "[[", items._pageName, "|", items.subcategory, "]]") = Category,
|format=template
{{#if:{{{hide sources|}}}||COALESCE(GROUP_CONCAT(sources.name ORDER BY CASE
|template=BTDB2 cosmetic item list row
WHEN sources.name LIKE '[[Trophy Store]]%' THEN 0 ELSE 1 END <!-- sources beginning with "Trophy Store" are listed first -->
|named args=yes
SEPARATOR ', '), "TBD") = Unlock method(s),}}
}}</table></includeonly><noinclude>[[Category:Cargo query templates]][[Category:BTD6 templates]]</noinclude>
IF(items.introduced = "", "''To be added''", CONCAT("[[Update history:Bloons TD 6/Version ", items.introduced, "|Version ", items.introduced, "]]", IF(items.xd_only, " ([[Bloons TD 6 (Chinese)|Chinese version]] only)", ""))) = Introduced
 
|where=items.id = '{{{1|}}}' OR items.id = '{{{2|}}}' OR items.id = '{{{3|}}}' OR items.id = '{{{4|}}}' OR items.id = '{{{5|}}}' OR items.id = '{{{6|}}}' OR items.id = '{{{7|}}}' OR items.id = '{{{8|}}}' OR items.id = '{{{9|}}}' OR items.id = '{{{10|}}}' OR items.id = '{{{11|}}}' OR items.id = '{{{12|}}}' OR items.id = '{{{13|}}}' OR items.id = '{{{14|}}}' OR items.id = '{{{15|}}}' OR items.id = '{{{16|}}}' OR items.id = '{{{17|}}}' OR items.id = '{{{18|}}}' OR items.id = '{{{19|}}}' OR items.id = '{{{20|}}}'
|join on =items.id = sources.item
|group by=items._pageName, items.name, items.image, items.description, items.category, items.subcategory, items.introduced, items.xd_only
|order by=introduced
|format  =table
}}</div>{{#if:{{{source|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 1|{{{source|}}}}}}
|item={{{1|}}}
}}{{#if:{{{2|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 2|{{{source|}}}}}}
|item={{{2|}}}
}}}}{{#if:{{{3|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 3|{{{source|}}}}}}
|item={{{3|}}}
}}}}{{#if:{{{4|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 4|{{{source|}}}}}}
|item={{{4|}}}
}}}}{{#if:{{{5|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 5|{{{source|}}}}}}
|item={{{5|}}}
}}}}{{#if:{{{6|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 6|{{{source|}}}}}}
|item={{{6|}}}
}}}}{{#if:{{{7|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 7|{{{source|}}}}}}
|item={{{7|}}}
}}}}{{#if:{{{8|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 8|{{{source|}}}}}}
|item={{{8|}}}
}}}}{{#if:{{{9|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 9|{{{source|}}}}}}
|item={{{9|}}}
}}}}{{#if:{{{10|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 10|{{{source|}}}}}}
|item={{{10|}}}
}}}}{{#if:{{{11|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 11|{{{source|}}}}}}
|item={{{11|}}}
}}}}{{#if:{{{12|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 12|{{{source|}}}}}}
|item={{{12|}}}
}}}}{{#if:{{{13|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 13|{{{source|}}}}}}
|item={{{13|}}}
}}}}{{#if:{{{14|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 14|{{{source|}}}}}}
|item={{{14|}}}
}}}}{{#if:{{{15|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 15|{{{source|}}}}}}
|item={{{15|}}}
}}}}{{#if:{{{16|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 16|{{{source|}}}}}}
|item={{{16|}}}
}}}}{{#if:{{{17|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 17|{{{source|}}}}}}
|item={{{17|}}}
}}}}{{#if:{{{18|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 18|{{{source|}}}}}}
|item={{{18|}}}
}}}}{{#if:{{{19|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 19|{{{source|}}}}}}
|item={{{19|}}}
}}}}{{#if:{{{20|}}}|{{#cargo_store:_table=btd6_cosmetic_sources
|name={{{source 20|{{{source|}}}}}}
|item={{{20|}}}
}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 00:59, 24 April 2026

Creates a list of cosmetic items with the specified internal IDs.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item 1 ID1

The ID of the first cosmetic item. IDs can be found in the source of pages like [[Pet]] and [[Place FX]] for reference.

Example
HeroesObynPetWolf
Stringrequired
Item 2 ID2

The ID of the second cosmetic item.

Stringoptional
Item 3 ID3

The ID of the third cosmetic item.

Stringoptional
44

no description

Unknownoptional
55

no description

Unknownoptional
66

no description

Unknownoptional
77

no description

Unknownoptional
88

no description

Unknownoptional
99

no description

Unknownoptional
1010

no description

Unknownoptional
1111

no description

Unknownoptional
1212

no description

Unknownoptional
1313

no description

Unknownoptional
1414

no description

Unknownoptional
1515

no description

Unknownoptional
1616

no description

Unknownoptional
1717

no description

Unknownoptional
1818

no description

Unknownoptional
1919

no description

Unknownoptional
2020

no description

Unknownoptional
sourcesource

no description

Unknownoptional
source 1source 1

no description

Unknownoptional
source 2source 2

no description

Unknownoptional
source 3source 3

no description

Unknownoptional
source 4source 4

no description

Unknownoptional
source 5source 5

no description

Unknownoptional
source 6source 6

no description

Unknownoptional
source 7source 7

no description

Unknownoptional
source 8source 8

no description

Unknownoptional
source 9source 9

no description

Unknownoptional
source 10source 10

no description

Unknownoptional
source 11source 11

no description

Unknownoptional
source 12source 12

no description

Unknownoptional
source 13source 13

no description

Unknownoptional
source 14source 14

no description

Unknownoptional
source 15source 15

no description

Unknownoptional
source 16source 16

no description

Unknownoptional
source 17source 17

no description

Unknownoptional
source 18source 18

no description

Unknownoptional
source 19source 19

no description

Unknownoptional
source 20source 20

no description

Unknownoptional
Hide sources?hide sources

If true, hides the "unlock method(s)" column.

Booleanoptional

Example usage

{{BTD6 cosmetic item list by id|HeroesObynPetWolf|HeroesObynPetBunny|HeroesObynPlacementWolf}}
Item Category Unlock method(s) Introduced
Icon of Obyn Ghost Wolf Pet Obyn Ghost Wolf Pet Heroes — Pets Trophy StoreTrophies 100, Pets Fan Pack (IAP) Version 20.0
Icon of Obyn Bunny Pet Obyn Bunny Pet Heroes — Pets Trophy StoreTrophies 75, Pets Fan Pack (IAP) Version 24.0
Icon of Obyn Wolf Dance Place & Upgrade Obyn Wolf Dance Place & Upgrade Heroes — Place FX Trophy StoreTrophies 70 Version 43.0