Template:BTDB2 hero reward list by id: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>{{#cargo_attach:_table=btdb2_cosmetic_sources}}
<noinclude>{{#cargo_attach:_table=btdb2_cosmetic_sources}}


{{/doc}}[[Category:Cargo query templates]][[Category:Battles 2 templates]]</noinclude><includeonly>{{#cargo_query:table=btdb2_cosmetic_items,btdb2_cosmetic_categories
{{/doc}}[[Category:Cargo query templates]][[Category:Battles 2 templates]]</noinclude><includeonly><div class="center-col-1 center-col-3">{{#cargo_query:table=btdb2_cosmetic_items,btdb2_cosmetic_categories
|join on=btdb2_cosmetic_items.category=btdb2_cosmetic_categories.name
|join on=btdb2_cosmetic_items.category=btdb2_cosmetic_categories.name


Line 12: Line 12:
|order by=(case btdb2_cosmetic_items.id when '{{{item 1|}}}' then 0 when '{{{item 2|}}}' then 1 when '{{{item 3|}}}' then 2 when '{{{item 4|}}}' then 3 when '{{{item 5|}}}' then 4 when '{{{item 6|}}}' then 5 when '{{{item 7|}}}' then 6 when '{{{item 8|}}}' then 7 when '{{{item 9|}}}' then 8 end)
|order by=(case btdb2_cosmetic_items.id when '{{{item 1|}}}' then 0 when '{{{item 2|}}}' then 1 when '{{{item 3|}}}' then 2 when '{{{item 4|}}}' then 3 when '{{{item 5|}}}' then 4 when '{{{item 6|}}}' then 5 when '{{{item 7|}}}' then 6 when '{{{item 8|}}}' then 7 when '{{{item 9|}}}' then 8 end)
|format=table
|format=table
}}{{#cargo_store:_table=btdb2_cosmetic_sources
}}</div>{{#cargo_store:_table=btdb2_cosmetic_sources
|name={{{hero|}}} Hero Rewards
|name={{{hero|}}} Hero Rewards
|item={{{item 1|}}}
|item={{{item 1|}}}

Revision as of 09:11, 29 July 2024

This template adds rows to the table "btdb2_cosmetic_sources", which is declared by the template BTDB2 cosmetic item list by id. View table.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Herohero

no description

Stringoptional
Item ID 1item 1

no description

Stringoptional
Item ID 2item 2

no description

Stringoptional
Item ID 3item 3

no description

Stringoptional
Item ID 4item 4

no description

Stringoptional
Item ID 5item 5

no description

Stringoptional
Item ID 6item 6

no description

Stringoptional
Item ID 7item 7

no description

Stringoptional
Item ID 8item 8

no description

Stringoptional
Item ID 9item 9

no description

Stringoptional