Template:B2 level list by object: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><h{{{header level|3}}}>[[Bloons 2 (Flash)|Flash version]]</h{{{header level|3}}}> | <includeonly><h{{{header level|3}}}>[[Bloons 2 (Flash)|Flash version]]</h{{{header level|3}}}> | ||
<div class="center-col- | <div class="center-col-1 center-col-3"> | ||
{{#cargo_query:table=b2_levels | {{#cargo_query:table=b2_levels | ||
|fields=level_F, | |fields=level_F = Level #, | ||
CONCAT("[[", _pageName, "|", name_F, "]]") = Level, | CONCAT("[[", _pageName, "|", name_F, "]]") = Level, | ||
{{{1|bloon}}}_F = Count | {{{1|bloon}}}_F = Count | ||
| Line 10: | Line 10: | ||
</div> | </div> | ||
<h{{{header level|3}}}>''[[Bloons 2 Christmas Expansion|Christmas Expansion]]''</h{{{header level|3}}}> | <h{{{header level|3}}}>''[[Bloons 2 Christmas Expansion|Christmas Expansion]]''</h{{{header level|3}}}> | ||
<div class="center-col- | <div class="center-col-1 center-col-3"> | ||
{{#cargo_query:table=b2_levels | {{#cargo_query:table=b2_levels | ||
|fields=level_CE, | |fields=level_CE = Level #, | ||
CONCAT("[[", _pageName, "|", name_F, "]]") = Level, | CONCAT("[[", _pageName, "|", name_F, "]]") = Level, | ||
{{{1|bloon}}}_F = Count | {{{1|bloon}}}_F = Count | ||
| Line 20: | Line 20: | ||
</div> | </div> | ||
<h{{{header level|3}}}>''[[Bloons 2 Spring Fling|Spring Fling]]''</h{{{header level|3}}}> | <h{{{header level|3}}}>''[[Bloons 2 Spring Fling|Spring Fling]]''</h{{{header level|3}}}> | ||
<div class="center-col- | <div class="center-col-1 center-col-3"> | ||
{{#cargo_query:table=b2_levels | {{#cargo_query:table=b2_levels | ||
|fields=level_SF, | |fields=level_SF = Level #, | ||
CONCAT("[[", _pageName, "|", name_F, "]]") = Level, | CONCAT("[[", _pageName, "|", name_F, "]]") = Level, | ||
{{{1|bloon}}}_F = Count | {{{1|bloon}}}_F = Count | ||
| Line 30: | Line 30: | ||
</div> | </div> | ||
<h{{{header level|3}}}>[[Bloons 2 (mobile)|Mobile version]]</h{{{header level|3}}}> | <h{{{header level|3}}}>[[Bloons 2 (mobile)|Mobile version]]</h{{{header level|3}}}> | ||
<div class="center-col- | <div class="center-col-1 center-col-3"> | ||
{{#cargo_query:table=b2_levels | {{#cargo_query:table=b2_levels | ||
|fields=level_M, | |fields=level_M = Level #, | ||
CONCAT("[[", _pageName, "|", name_M, "]]") = Level, | CONCAT("[[", _pageName, "|", name_M, "]]") = Level, | ||
{{{1|bloon}}}_M = Count | {{{1|bloon}}}_M = Count | ||
Revision as of 04:25, 27 November 2024
Creates lists of Flash Bloons 2, Christmas Expansion, Spring Fling, and mobile Bloons 2 levels that contain a specific object.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 | The ID of the object. This is the name of the Cargo column without the suffix (i.e. use "bomb" instead of "bomb_F").
| String | required |
| Header level | header level | The level of headers to use.
| Number | optional |
| Hide Flash version | hide F | If enabled, does not show a table for the Flash version. | Boolean | optional |
| Hide Christmas Expansion | hide CE | If enabled, does not show a table for Christmas Expansion. | Boolean | optional |
| Hide Spring Fling | hide SF | If enabled, does not show a table for Spring Fling. | Boolean | optional |
| Hide mobile version | hide M | If enabled, does not show a table for the mobile version. | Boolean | optional |
Example usage
{{B2 level list by object|triple_shot}}
Error: the string "#" cannot be used within #cargo_query.
Error: the string "#" cannot be used within #cargo_query.
Error: the string "#" cannot be used within #cargo_query.
Error: the string "#" cannot be used within #cargo_query.