Template:Infobox tower

From TowerFall Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:Infobox_tower/doc.

An infobox template for use on tower pages. Automatically adds the page to Category:Towers.

Usage

{{Infobox tower
| name = 
| image = 
| icon = 
| availability = 
| 1v1 = 
| ffa = 
| team = 
| specialArrow = 
| specialArrowImage = 
| specialArrowName = 
| specialArrow2 = 
| specialArrowImage2 = 
| specialArrowName2 = 
| shield = 
| wings = 
| speedBoots = 
| lookingGlass = 
| darkOrb = 
| timeOrb = 
| lavaOrb = 
| spaceOrb = 
| chaosOrb = 
| bombChest = 
| theme = 
}}

Parameters

Parameter Data type Optional Default Description
name String Name of the Tower to be displayed as the infobox title.
image File name The image for the tower on the world map, without the File: prefix.
icon File name The image for the Tower's icon, without the File: prefix.
availability Wikitext Yes ? Brief note about whether the tower is unlocked and in which update.
1v1, ffa, team Wikitext Yes How many of each of the respective level types the tower has.
+2arrows, shield, wings, speedBoots, lookingGlass, darkOrb, timeOrb, lavaOrb, spaceOrb, bombChest Wikitext Yes Spawn rate of each of the respective powerups. Do not include parameters for powerups that do not spawn in this tower.
specialArrow, specialArrow2 Wikitext Yes Spawn rate of special arrows. Do not include if special arrows do not spawn in this tower.
specialArrowImage, specialArrowImage2 File name Yes SingleArrow.png Image to use for the special arrow.
specialArrowName, specialArrowName2 Wikitext Yes Special Arrow Text to use for the special arrow.
Theme Wikitext Yes Link to an embed of the Tower's theme on Bandcamp. Utilizes Template:Bandcamp.
noCategories boolean Yes No Force the template to not automatically add categories to the page.
forceCategories boolean Yes No Force the template to automatically add categories, even if they would otherwise not be added. Overrides noCategories.

Example

Moonstone
MoonstoneMap.png
MoonstoneTile.png
Availability Unlockable in the Ascension update
Versus
1v1 Levels 10
FFA Levels 7
Team Levels 6
Treasure Spawn Rates
BombArrows.png Bomb Arrow 30.00%
LaserArrows.png Laser Arrow 30.00%
Shield.png Shield 13.70%
LookingGlass.png Looking Glass 6.85%
DarkOrb.png Dark Orb 4.11%
TimeOrb.png Time Orb 4.11%
LavaOrb.png Lava Orb 4.11%
SpaceOrb.png Space Orb 4.11%
BombChests.png Bomb Chest 2.74%
Theme
{{Infobox tower
| name = Moonstone
| image = moonstoneMap.png
| icon = moonstoneTile.png
| availability = Unlockable in the Ascension update
| 1v1 = 10
| ffa = 7
| team = 6
| specialArrow = 30.00%
| specialArrowImage = bombArrows.png
| specialArrowName = Bomb Arrow
| specialArrow2 = 30.00%
| specialArrowImage2 = laserArrows.png
| specialArrowName2 = Laser Arrow
| shield = 13.70%
| lookingGlass = 6.85%
| darkOrb = 4.11%
| timeOrb = 4.11%
| lavaOrb = 4.11%
| spaceOrb = 4.11%
| chaosOrb = 0.27%
| bombChest = 2.74%
| theme = https://bandcamp.com/EmbeddedPlayer/album=408983280/size=small/bgcol=000/linkcol=0687f5/artwork=none/track=2779323094/transparent=true/
}}