Template:BCS rewards: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><ul>{{#if:{{{card 1|}}}|{{#cargo_query:tables=bcs_cards
<includeonly><ul style="column-count:{{{columns|1}}}"><!--
|fields=CONCAT("<li>[[File:", image, "|30px|link=", _pageName, "|Icon of ", name, "]] ", name, " ×", CASE
-->{{#if:{{{mm|}}}|<li>{{BCS mm|{{{mm|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
WHEN name = "{{{card 1}}}" THEN "{{{card 1 amount|1}}}" WHEN name = "{{{card 2}}}" THEN "{{{card 2 amount|1}}}" WHEN name = "{{{card 3}}}" THEN "{{{card 3 amount|1}}}" WHEN name = "{{{card 4}}}" THEN "{{{card 4 amount|1}}}" WHEN name = "{{{card 5}}}" THEN "{{{card 5 amount|1}}}" WHEN name = "{{{card 6}}}" THEN "{{{card 6 amount|1}}}" WHEN name = "{{{card 7}}}" THEN "{{{card 7 amount|1}}}" WHEN name = "{{{card 8}}}" THEN "{{{card 8 amount|1}}}" WHEN name = "{{{card 9}}}" THEN "{{{card 9 amount|1}}}" WHEN name = "{{{card 10}}}" THEN "{{{card 10 amount|1}}}" WHEN name = "{{{card 11}}}" THEN "{{{card 11 amount|1}}}" WHEN name = "{{{card 12}}}" THEN "{{{card 12 amount|1}}}" WHEN name = "{{{card 13}}}" THEN "{{{card 13 amount|1}}}" WHEN name = "{{{card 14}}}" THEN "{{{card 14 amount|1}}}" WHEN name = "{{{card 15}}}" THEN "{{{card 15 amount|1}}}" WHEN name = "{{{card 16}}}" THEN "{{{card 16 amount|1}}}" WHEN name = "{{{card 17}}}" THEN "{{{card 17 amount|1}}}" WHEN name = "{{{card 18}}}" THEN "{{{card 18 amount|1}}}" WHEN name = "{{{card 19}}}" THEN "{{{card 19 amount|1}}}" WHEN name = "{{{card 20}}}" THEN "{{{card 20 amount|1}}}" ELSE "1" END, "</li>") = text
 
|where=name = "{{{card 1|}}}" OR name = "{{{card 2|}}}" OR name = "{{{card 3|}}}" OR name = "{{{card 4|}}}" OR name = "{{{card 5|}}}" OR name = "{{{card 6|}}}" OR name = "{{{card 7|}}}" OR name = "{{{card 8|}}}" OR name = "{{{card 9|}}}" OR name = "{{{card 10|}}}" OR name = "{{{card 11|}}}" OR name = "{{{card 12|}}}" OR name = "{{{card 13|}}}" OR name = "{{{card 14|}}}" OR name = "{{{card 15|}}}" OR name = "{{{card 16|}}}" OR name = "{{{card 17|}}}" OR name = "{{{card 18|}}}" OR name = "{{{card 19|}}}" OR name = "{{{card 20|}}}"
-->{{#if:{{{primary monkey|}}}|<li>{{BCS token|Primary Monkey|{{{primary monkey|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{military monkey|}}}|<li>{{BCS token|Military Monkey|{{{military monkey|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{magic monkey|}}}|<li>{{BCS token|Magic Monkey|{{{magic monkey|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{support monkey|}}}|<li>{{BCS token|Support Monkey|{{{support monkey|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
 
-->{{#if:{{{basic bloon|}}}|<li>{{BCS token|Basic Bloon|{{{basic bloon|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{advanced bloon|}}}|<li>{{BCS token|Advanced Bloon|{{{advanced bloon|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{large bloon|}}}|<li>{{BCS token|Large Bloon|{{{large bloon|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
 
-->{{#if:{{{basic power|}}}|<li>{{BCS token|Basic Power|{{{basic power|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{advanced power|}}}|<li>{{BCS token|Advanced Power|{{{advanced power|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{exotic power|}}}|<li>{{BCS token|Exotic Power|{{{exotic power|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
 
-->{{#if:{{{universal|}}}|<li>{{BCS token|Universal|{{{universal|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
 
-->{{#if:{{{deck slot|}}}|<li>{{BCS deck slot|{{{deck slot|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
 
-->{{#if:{{{classic|}}}|<li>{{BCS card pack|Classic|{{{classic|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
-->{{#if:{{{lead storm|}}}|<li>{{BCS card pack|Lead Storm|{{{lead storm|}}}|name={{#if:{{{show categories|}}}|y}}|size={{{size|30px}}}}}</li>}}<!--
 
-->{{#if:{{{currency 1|}}}|<li>{{{currency 1|}}}</li>}}<!--
-->{{#if:{{{currency 2|}}}|<li>{{{currency 2|}}}</li>}}<!--
-->{{#if:{{{currency 3|}}}|<li>{{{currency 3|}}}</li>}}<!--
-->{{#if:{{{currency 4|}}}|<li>{{{currency 4|}}}</li>}}<!--
-->{{#if:{{{currency 5|}}}|<li>{{{currency 5|}}}</li>}}<!--
 
-->{{#if:{{{card 1|}}}|{{#cargo_query:tables=bcs_cards
|fields=CONCAT("<li>[[File:", icon, "|{{{size|30px}}}|link=", _pageName, "|Icon of ", name, "]]&nbsp;[[", _pageName, "|", name, "]] ×", CASE
WHEN id = "{{{card 1}}}" THEN "{{{card 1 amount|1}}}" WHEN id = "{{{card 2}}}" THEN "{{{card 2 amount|1}}}" WHEN id = "{{{card 3}}}" THEN "{{{card 3 amount|1}}}" WHEN id = "{{{card 4}}}" THEN "{{{card 4 amount|1}}}" WHEN id = "{{{card 5}}}" THEN "{{{card 5 amount|1}}}" WHEN id = "{{{card 6}}}" THEN "{{{card 6 amount|1}}}" WHEN id = "{{{card 7}}}" THEN "{{{card 7 amount|1}}}" WHEN id = "{{{card 8}}}" THEN "{{{card 8 amount|1}}}" WHEN id = "{{{card 9}}}" THEN "{{{card 9 amount|1}}}" WHEN id = "{{{card 10}}}" THEN "{{{card 10 amount|1}}}" WHEN id = "{{{card 11}}}" THEN "{{{card 11 amount|1}}}" WHEN id = "{{{card 12}}}" THEN "{{{card 12 amount|1}}}" WHEN id = "{{{card 13}}}" THEN "{{{card 13 amount|1}}}" WHEN id = "{{{card 14}}}" THEN "{{{card 14 amount|1}}}" WHEN id = "{{{card 15}}}" THEN "{{{card 15 amount|1}}}" WHEN id = "{{{card 16}}}" THEN "{{{card 16 amount|1}}}" WHEN id = "{{{card 17}}}" THEN "{{{card 17 amount|1}}}" WHEN id = "{{{card 18}}}" THEN "{{{card 18 amount|1}}}" WHEN id = "{{{card 19}}}" THEN "{{{card 19 amount|1}}}" WHEN id = "{{{card 20}}}" THEN "{{{card 20 amount|1}}}" ELSE "1" END, "</li>") = text
|where=id = "{{{card 1|}}}" OR id = "{{{card 2|}}}" OR id = "{{{card 3|}}}" OR id = "{{{card 4|}}}" OR id = "{{{card 5|}}}" OR id = "{{{card 6|}}}" OR id = "{{{card 7|}}}" OR id = "{{{card 8|}}}" OR id = "{{{card 9|}}}" OR id = "{{{card 10|}}}" OR id = "{{{card 11|}}}" OR id = "{{{card 12|}}}" OR id = "{{{card 13|}}}" OR id = "{{{card 14|}}}" OR id = "{{{card 15|}}}" OR id = "{{{card 16|}}}" OR id = "{{{card 17|}}}" OR id = "{{{card 18|}}}" OR id = "{{{card 19|}}}" OR id = "{{{card 20|}}}"
|order by=name
|order by=name
|format=list
|format=list
Line 25: Line 54:
-->{{#if:{{{card 18|}}}|{{#cargo_store:_table=bcs_rewards|item={{{card 18|}}}|name={{{card 18 source|{{{source|}}}}}}|amount={{{card 18 amount|1}}}}}}}<!--
-->{{#if:{{{card 18|}}}|{{#cargo_store:_table=bcs_rewards|item={{{card 18|}}}|name={{{card 18 source|{{{source|}}}}}}|amount={{{card 18 amount|1}}}}}}}<!--
-->{{#if:{{{card 19|}}}|{{#cargo_store:_table=bcs_rewards|item={{{card 19|}}}|name={{{card 19 source|{{{source|}}}}}}|amount={{{card 19 amount|1}}}}}}}<!--
-->{{#if:{{{card 19|}}}|{{#cargo_store:_table=bcs_rewards|item={{{card 19|}}}|name={{{card 19 source|{{{source|}}}}}}|amount={{{card 19 amount|1}}}}}}}<!--
-->{{#if:{{{card 20|}}}|{{#cargo_store:_table=bcs_rewards|item={{{card 20|}}}|name={{{card 20 source|{{{source|}}}}}}|amount={{{card 20 amount|1}}}}}}}}}{{#if:{{{cosmetic 1|}}}|{{#cargo_query:tables=bcs_cosmetic_items
-->{{#if:{{{card 20|}}}|{{#cargo_store:_table=bcs_rewards|item={{{card 20|}}}|name={{{card 20 source|{{{source|}}}}}}|amount={{{card 20 amount|1}}}}}}}}}<!--
|fields=CONCAT("<li>[[File:", image, "|30px|link=", _pageName, "|Icon of ", name, "]] ", name, "</li>") = text


|where=name = "{{{cosmetic 1|}}}" OR name = "{{{cosmetic 2|}}}" OR name = "{{{cosmetic 3|}}}" OR name = "{{{cosmetic 4|}}}" OR name = "{{{cosmetic 5|}}}" OR name = "{{{cosmetic 6|}}}" OR name = "{{{cosmetic 7|}}}" OR name = "{{{cosmetic 8|}}}" OR name = "{{{cosmetic 9|}}}" OR name = "{{{cosmetic 10|}}}" OR name = "{{{cosmetic 11|}}}" OR name = "{{{cosmetic 12|}}}" OR name = "{{{cosmetic 13|}}}" OR name = "{{{cosmetic 14|}}}" OR name = "{{{cosmetic 15|}}}" OR name = "{{{cosmetic 16|}}}" OR name = "{{{cosmetic 17|}}}" OR name = "{{{cosmetic 18|}}}" OR name = "{{{cosmetic 19|}}}" OR name = "{{{cosmetic 20|}}}"
-->{{#if:{{{cosmetic 1|}}}|{{#cargo_query:tables=bcs_cosmetic_items
|fields=CONCAT("<li>[[File:", image, "|{{{size|30px}}}|link=", _pageName, "|Icon of ", name, "]]&nbsp;", name, {{#if:{{{show categories|}}}|" ([[", _pageName, "{{!}}", category, "]])",}} "</li>") = text
 
|where=id = "{{{cosmetic 1|}}}" OR id = "{{{cosmetic 2|}}}" OR id = "{{{cosmetic 3|}}}" OR id = "{{{cosmetic 4|}}}" OR id = "{{{cosmetic 5|}}}" OR id = "{{{cosmetic 6|}}}" OR id = "{{{cosmetic 7|}}}" OR id = "{{{cosmetic 8|}}}" OR id = "{{{cosmetic 9|}}}" OR id = "{{{cosmetic 10|}}}" OR id = "{{{cosmetic 11|}}}" OR id = "{{{cosmetic 12|}}}" OR id = "{{{cosmetic 13|}}}" OR id = "{{{cosmetic 14|}}}" OR id = "{{{cosmetic 15|}}}" OR id = "{{{cosmetic 16|}}}" OR id = "{{{cosmetic 17|}}}" OR id = "{{{cosmetic 18|}}}" OR id = "{{{cosmetic 19|}}}" OR id = "{{{cosmetic 20|}}}"
|order by=category, name
|order by=category, name
|format=list
|format=list
Line 55: Line 86:
|name  =Wikitext string
|name  =Wikitext string
|amount=Integer
|amount=Integer
}}{{/doc}}
}}{{/doc}}</noinclude>
 
{{BCS rewards
|card 1=Bomb Bloon
|card 1 amount=2
}}</noinclude>

Latest revision as of 04:37, 2 December 2025

This template defines the Cargo table "bcs_rewards". View table.Template:BCS rewards/doc