Difference between revisions of "Template:Module"
Jump to navigation
Jump to search
Cratorrex.rx (talk | contribs) (Reworked it, boss! (First Draft, adapted from Building)) |
|||
| Line 1: | Line 1: | ||
| − | + | <noinclude> | |
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
| − | " | + | "Image": { |
| − | "label": "Type", | + | "label": "Image", |
| − | "description": "The type ( | + | "description": "The image of Module Type", |
| + | "example": "Offensive Module.png", | ||
| + | "type": "wiki-file-name", | ||
| + | "required": true, | ||
| + | "aliases": [ | ||
| + | "image" | ||
| + | ] | ||
| + | }, | ||
| + | "Module Type": { | ||
| + | "aliases": [ | ||
| + | "type" | ||
| + | ], | ||
| + | "label": "Module Type", | ||
| + | "description": "The type of module. (Offensive, Defensive, Utility, Special, Legendary)", | ||
"example": "Offensive", | "example": "Offensive", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
| − | " | + | "Color": { |
| − | "label": " | + | "aliases": [ |
| − | "description": " | + | "colour" |
| − | "example": " | + | ], |
| + | "label": "Colour", | ||
| + | "description": "Colour of the Module Type (Off: #ec0800, Def: #009eff, Util: #fcff00, Ulti: #9f00ff, Spec: #a3a3a3, Leg: #ff8300)", | ||
| + | "example": "#ec0800 / #009eff / #fcff00 / #9f00ff / #a3a3a3 / #ff8300", | ||
"type": "string", | "type": "string", | ||
| − | "default": " | + | "suggested": true, |
| + | "default": "#000000" | ||
| + | }, | ||
| + | "Tier": { | ||
| + | "aliases": [ | ||
| + | "maxTier", | ||
| + | "max", | ||
| + | "tier" | ||
| + | ], | ||
| + | "label": "Maximum Tier", | ||
| + | "description": "The maximum tier for the module.", | ||
| + | "example": "250", | ||
| + | "type": "number", | ||
| + | "default": "250", | ||
| + | "required": true | ||
| + | }, | ||
| + | "Description": { | ||
| + | "aliases": [ | ||
| + | "desc" | ||
| + | ], | ||
| + | "label": "Description", | ||
| + | "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.", | ||
| + | "type": "content", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "Module Code": { | ||
| + | "aliases": [ | ||
| + | "code", | ||
| + | "id" | ||
| + | ], | ||
| + | "label": "Module Code", | ||
| + | "description": "The internal code for the module.", | ||
| + | "example": "attack.basic / regeneration.relative / tower.absolute.zero", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "Name": { | ||
| + | "aliases": [ | ||
| + | "module" | ||
| + | ], | ||
| + | "label": "Module Name", | ||
| + | "description": "The Module's Name.", | ||
| + | "example": "Daigoparry", | ||
| + | "type": "string", | ||
| + | "required": true | ||
} | } | ||
}, | }, | ||
"description": "For adding a module icon to the page", | "description": "For adding a module icon to the page", | ||
| − | "format": "inline" | + | "format": "inline", |
| + | "paramOrder": [ | ||
| + | "Name", | ||
| + | "Image", | ||
| + | "Module Type", | ||
| + | "Color", | ||
| + | "Module Code", | ||
| + | "Tier", | ||
| + | "Description" | ||
| + | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
| + | |||
| + | |||
| + | <includeonly> | ||
| + | {| class="wikitable" | ||
| + | !colspan="2"|<span style="font-weight:bold">{{{Name}}}</span> | ||
| + | |- | ||
| + | !colspan="2"|[[File:{{{Image|}}}|frameless]] | ||
| + | |- | ||
| + | ! Module Type | ||
| + | | <span style="font-weight:bold;color:{{{color}}}">{{{type}}}</span> | ||
| + | |- | ||
| + | ! Module Code | ||
| + | | {{{code}}} | ||
| + | |- | ||
| + | ! Maximum Tier | ||
| + | | {{{Tier}}} | ||
| + | |- | ||
| + | ! Description | ||
| + | | {{{Description}}} | ||
| + | |- | ||
| + | |} | ||
| + | |||
| + | [[Category:Modules]] | ||
| + | </includeonly> | ||
Revision as of 15:38, 22 August 2023
For adding a module icon to the page
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Module Name | Name module | The Module's Name.
| String | required |
| Image | Image image | The image of Module Type
| File | required |
| Module Type | Module Type type | The type of module. (Offensive, Defensive, Utility, Special, Legendary)
| String | required |
| Colour | Color colour | Colour of the Module Type (Off: #ec0800, Def: #009eff, Util: #fcff00, Ulti: #9f00ff, Spec: #a3a3a3, Leg: #ff8300)
| String | suggested |
| Module Code | Module Code code id | The internal code for the module.
| String | suggested |
| Maximum Tier | Tier maxTier max tier | The maximum tier for the module.
| Number | required |
| Description | Description desc | The Description / Information of the Module
| Content | suggested |