Difference between revisions of "Template:ModuleInfo"

From The Perfect Tower II
Jump to navigation Jump to search
m
m (Prevent default category unless transcluded.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{| class="wikitable"
 +
!colspan="2"|<span style="font-weight:bold">{{{Name|{{{name|{{{module}}} }}} }}}</span>
 +
|-
 +
!colspan="2"|[[File:{{{type|{{{Type}}} }}} Module.png|frameless]]
 +
|-
 +
! 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>
 +
|-
 +
! Maximum Tier
 +
| {{{Tier|{{{tier|{{{max|{{{maxTier}}} }}} }}} }}}
 +
|-
 +
! Description
 +
| {{{Description|{{{desc|{{{Desc}}} }}} }}}
 +
|-
 +
! Unlock Conditions
 +
| {{{unlock|{{{Unlock}}} }}}
 +
|-
 +
! Module Tags
 +
| {{{Tags|{{{tags|{{{tag}}} }}} }}}
 +
|-
 +
! Module ID
 +
| {{{code|{{{Code|{{{id}}} }}} }}}
 +
|-
 +
|}
 +
 +
<includeonly>[[Category:Modules]]</includeonly>
 +
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>
Line 67: Line 94:
 
"description": "Tags of the module, as shown in game. (With a hashtag, and in caps))",
 
"description": "Tags of the module, as shown in game. (With a hashtag, and in caps))",
 
"example": "#DAMAGE #AREA CHANCE",
 
"example": "#DAMAGE #AREA CHANCE",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"Unlock": {
 +
"aliases": [
 +
"unlock"
 +
],
 +
"label": "Unlock",
 +
"description": "The conditions required to unlock this module",
 +
"example": "Reach round 100 on Forest. / 0.1% chance to unlock on completing a round. / Die to any boss 5 times in a row.",
 
"type": "string",
 
"type": "string",
 
"suggested": true
 
"suggested": true
Line 78: Line 115:
 
"Tier",
 
"Tier",
 
"Desc",
 
"Desc",
"Code",
+
"Tags",
"Tags"
+
"Unlock",
 +
"Code"
 
]
 
]
 
}
 
}
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>
 
 
<includeonly>
 
{| class="wikitable"
 
!colspan="2"|<span style="font-weight:bold">{{{Name|{{{name|{{{module|}}} }}} }}}</span>
 
|-
 
!colspan="2"|[[File:{{{type|{{{Type|}}} }}} Module.png|frameless|30px]]
 
|-
 
! 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>
 
|-
 
! Maximum Tier
 
| {{{Tier|{{{tier|{{{max|{{{maxTier}}} }}} }}} }}}
 
|-
 
! Description
 
| {{{Description|{{{desc|{{{Desc|}}} }}} }}}
 
|-
 
! Module Code
 
| {{{code|{{{Code|{{{id|}}} }}} }}}
 
|-
 
! Module Tags
 
| {{{Tags|{{{tags|{{{tag}}} }}} }}}
 
|}
 
 
[[Category:Modules]]
 
</includeonly>
 

Latest revision as of 21:39, 4 October 2023

{{{module}}}
[[File:{{{Type}}} Module.png|frameless]]
Module Type {{{Type}}}
Maximum Tier {{{maxTier}}}
Description {{{Desc}}}
Unlock Conditions {{{Unlock}}}
Module Tags {{{tag}}}
Module ID {{{id}}}



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 TagsTags tag tags

Tags of the module, as shown in game. (With a hashtag, and in caps))

Example
#DAMAGE #AREA CHANCE
Stringsuggested
UnlockUnlock unlock

The conditions required to unlock this module

Example
Reach round 100 on Forest. / 0.1% chance to unlock on completing a round. / Die to any boss 5 times in a row.
Stringsuggested
Module CodeCode code id

The internal code for the module.

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