Template:TowerCard
Template Documentation
Portions of this template may not be visible without parameter values provided
Template CSS: MediaWiki:TowerCard.css • Lua Module: Module:TowerCard
Portions of this template may not be visible without parameter values provided
Template CSS: MediaWiki:TowerCard.css • Lua Module: Module:TowerCard
Usage
Put cards inside a grid, one per line with no blank lines between them:
<div class="tower-card-grid">
{{TowerCard|Pulse Trooper|tier=Intermediate|image=DefaultPulseTrooperIconIG.png|price=3,250}}
{{TowerCard|Engineer|tier=Hardcore|image=EngineerIcon.png|req=Lv 50|currency=Gems|price=4,500|currency2=Robux|price2=…}}
{{TowerCard|Operator|tier=Evolved|req=Lv 20 [[Scout]]|cost=4,500 Gems + 15,000 Coins}}
{{TowerCard|Commando|tier=Exclusive|unlock=Area 51|note=Unlocked from [[Area 51]].}}
</div>
Parameters
| Parameter | Description |
|---|---|
1 / name |
Tower name. Also the link target. Required. |
tier |
Starter, Intermediate, Advanced, Hardcore, Evolved, Golden, Exclusive or Unavailable. Sets the card colour. Default: Starter. |
image |
Render file name without File:. Default: <name>Icon.png.
|
label |
Text under the name. Default: the tier. |
link |
Link target, if different from the name. |
price, currency |
Cost. Currency is Coins (default), Gems, Robux or none. |
price_b, currency_b |
A second cost paid at the same time; shown stacked. |
cost |
Shorthand for combined costs, e.g. 4,500 Gems + 15,000 Coins.
|
unlock |
Text shown instead of a price, e.g. Free or Level 30.
|
...2, ...3 |
Second and third unlock methods (price2, currency2, cost2, unlock2, ...). The price row cycles through them.
|
req, req2 |
Requirement badges in the top-right, e.g. Lv 100. Can hold links and refs.
|
note |
Note panel opened by the info button. Can hold links and refs. |