Difference between revisions of "Template:ModuleInfo"

From The Perfect Tower II
Jump to navigation Jump to search
m
(Reordered the info boxes)
Line 82: Line 82:
 
! Module Type
 
! Module Type
 
| <span style="font-weight:bold;color:{{switch:{{{type|{{{Type|}}} }}} | Offensive = #ec0800| Defensive = #009eff | Utility = #fcff00 | Ultimate = #9f00ff | Special = #a3a3a3 | Legendary = #ff8300}}">{{{type|{{{Type|}}} }}}</span>
 
| <span style="font-weight:bold;color:{{switch:{{{type|{{{Type|}}} }}} | Offensive = #ec0800| Defensive = #009eff | Utility = #fcff00 | Ultimate = #9f00ff | Special = #a3a3a3 | Legendary = #ff8300}}">{{{type|{{{Type|}}} }}}</span>
|-
 
! Module Code
 
| {{{code|{{{Code|{{{id|}}} }}} }}}
 
 
|-
 
|-
 
! Maximum Tier
 
! Maximum Tier
Line 91: Line 88:
 
! Description
 
! Description
 
| {{{Description|{{{desc|{{{Desc|}}} }}} }}}
 
| {{{Description|{{{desc|{{{Desc|}}} }}} }}}
 +
|-
 +
! Module Code
 +
| {{{code|{{{Code|{{{id|}}} }}} }}}
 
|-
 
|-
 
|}
 
|}

Revision as of 23:36, 22 August 2023

For adding a specific module with its information to the page

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Module NameName module name

The Module's Name.

Example
Daigoparry
Stringrequired
Module TypeType type

The type of module. (Offensive, Defensive, Utility, Special, Legendary)

Example
Offensive
Stringrequired
Maximum TierTier maxTier max tier

The maximum tier for the module.

Default
250
Example
250
Numberrequired
DescriptionDesc desc Description

The Description / Information of the Module

Example
Lorem Ipsum gives +1 base statistics to Dolor Sit Amet. Does not work with Consectetur Adipiscing Elit.
Contentsuggested
Module CodeCode code id

The internal code for the module.

Example
attack.basic / regeneration.relative / tower.absolute.zero
Stringsuggested