Difference between revisions of "Template:ModuleInfo"
Jump to navigation
Jump to search
Dfirestorm (talk | contribs) m (Added name as alias for Name) |
Dfirestorm (talk | contribs) (Ensuring aliases work) |
||
Line 3: | Line 3: | ||
{ | { | ||
"params": { | "params": { | ||
− | " | + | "Type": { |
"aliases": [ | "aliases": [ | ||
"type" | "type" | ||
Line 26: | Line 26: | ||
"required": true | "required": true | ||
}, | }, | ||
− | " | + | "Desc": { |
"aliases": [ | "aliases": [ | ||
− | "desc" | + | "desc", |
+ | "Description" | ||
], | ], | ||
"label": "Description", | "label": "Description", | ||
Line 36: | Line 37: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
− | " | + | "Code": { |
"aliases": [ | "aliases": [ | ||
"code", | "code", | ||
Line 63: | Line 64: | ||
"paramOrder": [ | "paramOrder": [ | ||
"Name", | "Name", | ||
− | " | + | "Type", |
"Tier", | "Tier", | ||
− | " | + | "Desc", |
− | " | + | "Code" |
] | ] | ||
} | } | ||
Line 75: | Line 76: | ||
<includeonly> | <includeonly> | ||
{| class="wikitable" | {| class="wikitable" | ||
− | !colspan="2"|<span style="font-weight:bold">{{{Name}}}</span> | + | !colspan="2"|<span style="font-weight:bold">{{{Name|{{{name|{{{module|}}} }}} }}}</span> |
|- | |- | ||
− | !colspan="2"|[[File:{{{type}}} Module.png|frameless|30px]] | + | !colspan="2"|[[File:{{{type|{{{Type|}}} }}} Module.png|frameless|30px]] |
|- | |- | ||
! Module Type | ! Module Type | ||
− | | <span style="font-weight:bold;color:{{switch:{{{type}}} | Offensive = #ec0800| Defensive = #009eff | Utility = #fcff00 | Ultimate = #9f00ff | Special = #a3a3a3 | Legendary = #ff8300}}">{{{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 | ! Module Code | ||
− | | {{{code}}} | + | | {{{code|{{{Code|{{{id}}} }}} }}} |
|- | |- | ||
! Maximum Tier | ! Maximum Tier | ||
− | | {{{Tier}}} | + | | {{{Tier|{{{tier|{{{max|{{{maxTier}}} }}} }}} }}} |
|- | |- | ||
! Description | ! Description | ||
− | | {{{Description}}} | + | | {{{Description|{{{desc|{{{Desc|}}} }}} }}} |
|- | |- | ||
|} | |} |
Revision as of 23:35, 22 August 2023
For adding a specific module with its information to the page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Module Name | Name module name | The Module's Name.
| String | required |
Module Type | Type type | The type of module. (Offensive, Defensive, Utility, Special, Legendary)
| String | required |
Maximum Tier | Tier maxTier max tier | The maximum tier for the module.
| Number | required |
Description | Desc desc Description | The Description / Information of the Module
| Content | suggested |
Module Code | Code code id | The internal code for the module.
| String | suggested |