Jump to content

Template:Module row

From The Perfect Tower II
Revision as of 21:59, 6 October 2026 by Speedybrain (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

One row of a module table. The game supplies the category, name, whether the module is active, the description and the tags, and they update with every game version. The wiki supplies what the game's data doesn't contain: where and how the module unlocks, and the upgrade formula.

Put the rows inside a table that has the matching header row, as on Modules:

{| class="wikitable sortable mw-collapsible"
!Type!!Name!!Active!!Unlock Location!!Unlock Condition
!Description
!Tags
!Tier Upgrade Formula
{{Module row|id=burst.fire
|location=R02: [[Desert]]
|condition=Wave 20
|chance=20%
|formula=Tier 1: 5000
}}
|}

Values in the description

Some descriptions contain values the game fills in while you play. The wiki shows them in brackets, such as "Provides the tower a [chance] chance". A parameter with that name puts the value in: chance=20% shows "Provides the tower a 20% chance".

Infinity modules

With layout=infinity the row has the columns of the Infinity table: Type, Name, Max. tier, Active, Grid location, Grid coordinates, Unlock cost, Description, Tags and Upgrade formula.

Region pages

With layout=region the row has the columns of the module table on a region's page: Type, Name and Unlock condition.

{| class="wikitable sortable"
!Type!!Name!!Unlock Condition
{{Module row|id=attack.bounce|layout=region|condition=Wave 10}}
|}

A module id the game doesn't have shows "Unknown module" and puts the page in Category:Pages with unknown modules. Ids are in the module database; names work too.

One row of a module table: game facts from the game's data, unlock and formula from the wiki.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Module idid

The module's id, as in the module database

Example
burst.fire
Stringrequired
Unlock locationlocation

Where the module unlocks

Example
R02: [[Desert]]
Contentsuggested
Unlock conditioncondition

How the module unlocks

Example
Wave 20
Contentsuggested
Upgrade formulaformula

How the module's effect grows with its tier

Contentsuggested
Notenote

The wiki's own note, shown under the game's description

Contentoptional
Layoutlayout

infinity for the columns of the Infinity table, region for the module table on a region's page

Suggested values
infinity region
Stringoptional
Max. tier (Infinity)maxtier

Shown instead of the game's max tier

Example
∞
Stringoptional
Grid location (Infinity)gridlocation

no description

Contentoptional
Grid coordinates (Infinity)gridcoordinates

no description

Example
A1
Contentoptional
Unlock cost (Infinity)unlockcost

no description

Contentoptional