Difference between revisions of "Template:ModuleInfo"

From The Perfect Tower II
Jump to navigation Jump to search
(Created Page, Uses Cratorrex's formatting)
 
(Removed requirement for image, inherited from type)
Line 3: Line 3:
 
{
 
{
 
"params": {
 
"params": {
"Image": {
 
"label": "Image",
 
"description": "The image of Module Type",
 
"example": "Offensive Module.png",
 
"type": "wiki-file-name",
 
"required": true,
 
"aliases": [
 
"image"
 
]
 
},
 
 
"Module Type": {
 
"Module Type": {
 
"aliases": [
 
"aliases": [
Line 83: Line 73:
 
"paramOrder": [
 
"paramOrder": [
 
"Name",
 
"Name",
"Image",
 
 
"Module Type",
 
"Module Type",
 
"Color",
 
"Color",
Line 99: Line 88:
 
!colspan="2"|<span style="font-weight:bold">{{{Name}}}</span>
 
!colspan="2"|<span style="font-weight:bold">{{{Name}}}</span>
 
|-
 
|-
!colspan="2"|[[File:{{{Image|}}}|frameless]]
+
!colspan="2"|[[File:{{{type}}} Module.png|frameless|30px]]
 
|-
 
|-
 
! Module Type
 
! Module Type

Revision as of 23:00, 22 August 2023

For adding a module icon to the page

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Module NameName module

The Module's Name.

Example
Daigoparry
Stringrequired
Module TypeModule Type type

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

Example
Offensive
Stringrequired
ColourColor colour

Colour of the Module Type (Off: #ec0800, Def: #009eff, Util: #fcff00, Ulti: #9f00ff, Spec: #a3a3a3, Leg: #ff8300)

Default
#000000
Example
#ec0800 / #009eff / #fcff00 / #9f00ff / #a3a3a3 / #ff8300
Stringsuggested
Module CodeModule Code code id

The internal code for the module.

Example
attack.basic / regeneration.relative / tower.absolute.zero
Stringsuggested
Maximum TierTier maxTier max tier

The maximum tier for the module.

Default
250
Example
250
Numberrequired
DescriptionDescription desc

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