|
|
| Line 1: |
Line 1: |
| <noinclude> | | [[File:{{{1}}} Module.png|{{{1}}}|{{{size|x30px}}}|alt={{{1}}} Module]]<noinclude> |
| <templatedata> | | <templatedata> |
| { | | { |
| "params": { | | "params": { |
| "Image": { | | "1": { |
| "label": "Image", | | "label": "Type", |
| "description": "The image of Module Type",
| | "description": "The type (offensive, defensive, utility, ultimate, special)", |
| "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": { | | "size": { |
| "aliases": [
| | "label": "Size", |
| "colour"
| | "description": "Size of the icon, as a standard Mediawiki image size", |
| ],
| | "example": "30px", |
| "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", |
| "suggested": true,
| | "default": "x30px" |
| "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>
| |
[[File:{{{1}}} Module.png|{{{1}}}|x30px|alt={{{1}}} Module]]
Template parameters[Edit template data]
This template prefers inline formatting of parameters.
| Parameter | Description | Type | Status |
|---|
| Type | 1 | The type (offensive, defensive, utility, ultimate, special) - Example
- Offensive
| String | required |
|---|
| Size | size | Size of the icon, as a standard Mediawiki image size - Default
- x30px
- Example
- 30px
| String | optional |
|---|