Difference between revisions of "Template:Module"
Jump to navigation
Jump to search
Cratorrex.rx (talk | contribs) (Reworked it, boss! (First Draft, adapted from Building)) |
Dfirestorm (talk | contribs) (Undo revision 3016 by Cratorrex.rx (talk). Will be moved to ModuleInfo) Tag: Undo |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | [[File:{{{1}}} Module.png|{{{1}}}|{{{size|x30px}}}|alt={{{1}}} Module]]<noinclude> |
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
− | " | + | "1": { |
− | "label": " | + | "label": "Type", |
− | + | "description": "The type (offensive, defensive, utility, ultimate, special)", | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "description": "The type | ||
"example": "Offensive", | "example": "Offensive", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
− | " | + | "size": { |
− | + | "label": "Size", | |
− | + | "description": "Size of the icon, as a standard Mediawiki image size", | |
− | + | "example": "30px", | |
− | "label": " | ||
− | "description": " | ||
− | "example": " | ||
"type": "string", | "type": "string", | ||
− | + | "default": "x30px" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "default": " | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
}, | }, | ||
"description": "For adding a module icon to the page", | "description": "For adding a module icon to the page", | ||
− | "format": "inline" | + | "format": "inline" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 22:49, 22 August 2023
[[File:{{{1}}} Module.png|{{{1}}}|x30px|alt={{{1}}} Module]]
For adding a module icon to the page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | 1 | The type (offensive, defensive, utility, ultimate, special)
| String | required |
Size | size | Size of the icon, as a standard Mediawiki image size
| String | optional |